summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViper <viper@anope.org>2011-11-20 15:22:18 +0100
committerViper <viper@anope.org>2011-11-20 15:22:18 +0100
commit144029fd6182a37dee29bbb721ccab29e544c810 (patch)
tree14d4640dd06c84ef854530e88269f503e0c46097
parent2a1cd54bc7d6e8cdd9accccef50d4ec9bb1d6f36 (diff)
Fixed ignore not matching against users' real host or IP (introduced in rev. 3049).
-rw-r--r--Changes1
-rw-r--r--src/process.c2
-rw-r--r--version.log3
3 files changed, 4 insertions, 2 deletions
diff --git a/Changes b/Changes
index 876a2f6f8..d34a0ea88 100644
--- a/Changes
+++ b/Changes
@@ -11,6 +11,7 @@ Anope Version 1.8 - GIT
08/10 F Fixed loading bs_fantasy_owner on InspIRCd 2.0 on startup [ #00]
08/21 F Send DROP event when forbidding nicks and channels. [ #00]
11/16 F Fixed ident being used instead of vident in some comparisons. [ #00]
+11/20 F Fixed ignore not matching against users' real host or IP. [ #00]
Anope Version 1.8.6
-------------------
diff --git a/src/process.c b/src/process.c
index fa8d61ce2..f092794b8 100644
--- a/src/process.c
+++ b/src/process.c
@@ -126,7 +126,7 @@ IgnoreData *get_ignore(const char *nick)
if (is_oper(u))
return NULL;
for (ign = ignore; ign; ign = ign->next)
- if (match_usermask(ign->mask, u))
+ if (match_usermask_full(ign->mask, u, true))
break;
} else {
/* We didn't get a user.. generate a valid mask. */
diff --git a/version.log b/version.log
index 525a780c6..97e861201 100644
--- a/version.log
+++ b/version.log
@@ -8,9 +8,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="7"
VERSION_EXTRA="-git"
-VERSION_BUILD="3085"
+VERSION_BUILD="3086"
# $Log$ # Changes since 1.8.6 Release
+#Revision 3086 - Fixed ignore not matching against users' real host or IP (introduced in rev. 3049).
#Revision 3085 - Use vident instead of ident in combination with the vhost for botserv kick(ban)s and nickserv access list checking.
#Revision 3084 - Match bans against the vident/vhost instead of real ident/vhost when available.
#Revision 3083 - Use _exit, not exit, to exit mail forks to prevent our atexit() functions from being called, and removing our pidfile