diff options
author | Adam <Adam@anope.org> | 2013-03-13 14:40:49 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-03-13 14:40:49 -0500 |
commit | 1ff7a7c1f1cee2dfe26a0a72026176202e2e4e6a (patch) | |
tree | a492ee7bc3dc23a9ffae40ca1e643d664608e929 /modules/protocol/unreal.cpp | |
parent | 1d16629a6da2f1d5b65557028e75abc7de51cad5 (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.cpp | 2 |
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) { |