This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/channel.c b/src/channel.c | |
index d4ec60b..9aa45dd 100644 | |
--- a/src/channel.c | |
+++ b/src/channel.c | |
@@ -318,7 +318,7 @@ add_channel(void) | |
channel->ch_id = next_ch_id++; | |
ch_log(channel, "Created channel"); | |
- for (part = PART_SOCK; part <= PART_IN; ++part) | |
+ for (part = PART_SOCK; part < PART_NUM; ++part) |