Unbreak sending out bans and simple modes with parameters.

This commit is contained in:
Jilles Tjoelker 2008-06-13 22:21:44 +02:00
parent ba3ca70952
commit fd44b8518a

View file

@ -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)
{