summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
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)
{