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 a248682cae
commit 7592f950b2
1 changed files with 4 additions and 1 deletions

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)) || ((nocap & mode_changes[i].nocaps) != mode_changes[i].nocaps))
continue; continue;
if(!EmptyString(mode_changes[i].id))
arg = mode_changes[i].id; arg = mode_changes[i].id;
else
arg = mode_changes[i].arg;
if(arg) if(arg)
{ {