diff --git a/src/chmode.c b/src/chmode.c index 20ad88c7f..d4d19619f 100644 --- a/src/chmode.c +++ b/src/chmode.c @@ -1165,7 +1165,7 @@ chm_throttle(struct Client *source_p, struct Channel *chptr, { sscanf(parv[(*parn)], "%d:%d", &joins, ×lice); - if(!joins || !timeslice) + if(joins <= 0 || timeslice <= 0) return; mode_changes[mode_count].letter = c;