|
@@ -385,6 +385,8 @@ int channel_modify(char *result, struct chanset_t *chan, int items, char **item,
|
|
|
strlcpy(result, "channel limit needs argument", RESULT_LEN);
|
|
strlcpy(result, "channel limit needs argument", RESULT_LEN);
|
|
|
return ERROR;
|
|
return ERROR;
|
|
|
}
|
|
}
|
|
|
|
|
+ if (chan->limitraise && !atoi(item[i]) && dolimit(chan)) //limitraise was disabled by the user
|
|
|
|
|
+ add_mode(chan, '-', 'l', "");
|
|
|
chan->limitraise = atoi(item[i]);
|
|
chan->limitraise = atoi(item[i]);
|
|
|
chan->limit_prot = 0;
|
|
chan->limit_prot = 0;
|
|
|
} else if (!strcmp(item[i], "fish-key")) {
|
|
} else if (!strcmp(item[i], "fish-key")) {
|