Unbreak sending out bans and simple modes with parameters.
This commit is contained in:
parent
a248682cae
commit
7592f950b2
|
@ -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))
|
|| ((nocap & mode_changes[i].nocaps) != mode_changes[i].nocaps))
|
||||||
continue;
|
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)
|
if(arg)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue