]> jfr.im git - irc/freenode/ircd-seven.git/commitdiff
Fix extended-join not sending any joins at all.
authorJilles Tjoelker <redacted>
Mon, 10 Jan 2011 23:26:05 +0000 (00:26 +0100)
committerJilles Tjoelker <redacted>
Mon, 10 Jan 2011 23:26:05 +0000 (00:26 +0100)
Note that IsCapable(x, NOCAPS) always returns true.

src/send.c

index 7b69b407184c7f987dfb51d441dd9feebed506d4..17af7b4702ecf8bd14b49cc81ea5c5b00bc66f23 100644 (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))