diff options
author | Sadie Powell <sadie@witchery.services> | 2024-11-11 17:10:24 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-11-11 17:13:01 +0000 |
commit | df1c6176b38eea8d8889604699012ac8b172e341 (patch) | |
tree | 73a467a7df0882541cd4f9cb5e249972647283f5 /modules/protocol/unrealircd.cpp | |
parent | 8634594cd1a11d6786e7da44679483718f47cc09 (diff) | |
parent | 96ccfe4cbe9948206ac2d6854778f9a268d2476f (diff) |
Merge branch '2.0' into 2.1.
Diffstat (limited to 'modules/protocol/unrealircd.cpp')
-rw-r--r-- | modules/protocol/unrealircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/unrealircd.cpp b/modules/protocol/unrealircd.cpp index ebab51d3c..1e0cb713b 100644 --- a/modules/protocol/unrealircd.cpp +++ b/modules/protocol/unrealircd.cpp @@ -588,7 +588,7 @@ namespace UnrealExtBan if (e->GetMask() == "0" && !u->Account()) /* ~a:0 is special and matches all unauthenticated users */ return true; - return u->Account() && Anope::Match(u->Account()->display, e->GetMask()); + return u->IsIdentified() && Anope::Match(u->Account()->display, e->GetMask()); } }; |