From e2b507ac41887aa4e8b7652f0f5c2081c943c192 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Tue, 11 Jan 2011 00:26:05 +0100 Subject: [PATCH] Fix extended-join not sending any joins at all. Note that IsCapable(x, NOCAPS) always returns true. --- src/send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/send.c b/src/send.c index 7b69b4071..17af7b470 100644 --- a/src/send.c +++ b/src/send.c @@ -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))