diff options
Diffstat (limited to 'src/irc/core/modes.c')
-rw-r--r-- | src/irc/core/modes.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/irc/core/modes.c b/src/irc/core/modes.c index 80381789..057a9c4f 100644 --- a/src/irc/core/modes.c +++ b/src/irc/core/modes.c @@ -214,8 +214,10 @@ void parse_channel_modes(IRC_CHANNEL_REC *channel, const char *setby, expecting argument, ignore the mode if there's no argument (shouldn't happen). */ arg = cmd_get_param(&modestr); - if (*arg == '\0') + if (*arg == '\0') { + curmode++; continue; + } } else { arg = NULL; } |