summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-03-13 14:40:49 -0500
committerAdam <Adam@anope.org>2013-03-13 14:40:49 -0500
commit1ff7a7c1f1cee2dfe26a0a72026176202e2e4e6a (patch)
treea492ee7bc3dc23a9ffae40ca1e643d664608e929 /modules/protocol/unreal.cpp
parent1d16629a6da2f1d5b65557028e75abc7de51cad5 (diff)
Refactor mask/entry code, allow full matching (against users real host/ip) if their displayed host is their real real host. Also match against cloaked host even if full matching is not being done
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp
index b7cd2e322..3f1d33279 100644
--- a/modules/protocol/unreal.cpp
+++ b/modules/protocol/unreal.cpp
@@ -381,7 +381,7 @@ class UnrealExtBan : public ChannelModeList
bool Matches(const User *u, const Entry *e) anope_override
{
- const Anope::string &mask = e->mask;
+ const Anope::string &mask = e->GetMask();
if (mask.find("~c:") == 0)
{