This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Undernet IRC Server Source Code.".

The branch, u2_10_12_branch has been updated
       via  7590bf782309d33dd9782590bd6bb8bad41568ea (commit)
      from  db6cc9b6c72615df03ad0feb376c0c5571899b94 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7590bf782309d33dd9782590bd6bb8bad41568ea
Author: Michael Poole <[email protected]>
Date:   Wed Jan 11 22:19:30 2017 -0500

    find_ban: Allow bans to match against IP address text.

diff --git a/ircd/channel.c b/ircd/channel.c
index bd7331d..125ad7b 100644
--- a/ircd/channel.c
+++ b/ircd/channel.c
@@ -409,6 +409,7 @@ struct Ban *find_ban(struct Client *cptr, struct Ban 
*banlist)
     if (!((banlist->flags & BAN_IPMASK)
          && ipmask_check(&cli_ip(cptr), &banlist->address, banlist->addrbits))
         && match(hostmask, cli_user(cptr)->host)
+        && match(hostmask, iphost)
         && !(sr && !match(hostmask, sr)))
         continue;
     /* If an exception matches, no ban can match. */
-----------------------------------------------------------------------

Summary of changes:
 ircd/channel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Undernet IRC Server Source Code.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to