summaryrefslogtreecommitdiff
path: root/src/modules/m_nonotice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_nonotice.cpp')
-rw-r--r--src/modules/m_nonotice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp
index 9c02408cf..79a1ea796 100644
--- a/src/modules/m_nonotice.cpp
+++ b/src/modules/m_nonotice.cpp
@@ -48,7 +48,7 @@ class ModuleNoNotice : public Module
if ((target_type == TYPE_CHANNEL) && (IS_LOCAL(user)))
{
Channel* c = (Channel*)dest;
- if (c->IsModeSet('T') || c->IsExtBanned(user, 'T'))
+ if (c->IsModeSet('T') || c->GetExtBanStatus(user, 'T') < 0)
{
if (ServerInstance->ULine(user->server))
{