Unbreak sending out bans and simple modes with parameters.
This commit is contained in:
parent
ba3ca70952
commit
fd44b8518a
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue