git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1486
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2005-09-14 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/channel.c (find_ban): Fix the sense of another check.
+
2005-09-13 Michael Poole <mdpoole@troilus.org>
* include/channel.h (clean_channelname): Remove prototype.
if (!((banlist->flags & BAN_IPMASK)
&& ipmask_check(&cli_ip(cptr), &banlist->address, banlist->addrbits))
&& match(hostmask, cli_user(cptr)->host)
- && !(sr && match(hostmask, sr)))
+ && !(sr && !match(hostmask, sr)))
continue;
/* If an exception matches, no ban can match. */
if (banlist->flags & BAN_EXCEPTION)