diff --git a/kike.c b/kike.c index baa141f..68bcdcd 100644 --- a/kike.c +++ b/kike.c @@ -2006,10 +2006,11 @@ irc_handle_chan_mode_change mode_processor_step (&p, '+'); while (*mode_string) if (!mode_processor_step (&p, *mode_string++)) - break; + goto done_processing; } // TODO: limit to three changes with parameter per command +done_processing: if (p.added.len || p.removed.len) { struct str message = str_make ();