From: Jilles Tjoelker Date: Fri, 13 Jun 2008 20:21:44 +0000 (+0200) Subject: Unbreak sending out bans and simple modes with parameters. X-Git-Url: https://jfr.im/git/solanum.git/commitdiff_plain/fd44b8518ad1d6d50c9aeb1d4c34c4f6d76e70e3 Unbreak sending out bans and simple modes with parameters. --- diff --git a/src/channel.c b/src/channel.c index e7d610af..626fb63a 100644 --- a/src/channel.c +++ b/src/channel.c @@ -1311,7 +1311,10 @@ send_cap_mode_changes(struct Client *client_p, struct Client *source_p, || ((nocap & mode_changes[i].nocaps) != mode_changes[i].nocaps)) continue; - arg = mode_changes[i].id; + if(!EmptyString(mode_changes[i].id)) + arg = mode_changes[i].id; + else + arg = mode_changes[i].arg; if(arg) {