Fix extended-join not sending any joins at all.

Note that IsCapable(x, NOCAPS) always returns true.
This commit is contained in:
Jilles Tjoelker 2011-01-11 00:26:05 +01:00
parent 2fb0796158
commit e2b507ac41

View file

@ -684,7 +684,7 @@ sendto_channel_local_with_capability(int type, int caps, int negcaps, struct Cha
if(IsIOError(target_p) ||
!IsCapable(target_p, caps) ||
IsCapable(target_p, negcaps))
!NotCapable(target_p, negcaps))
continue;
if(type && ((msptr->flags & type) == 0))