summaryrefslogtreecommitdiff
path: root/src/modules/m_nopartmsg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_nopartmsg.cpp')
-rw-r--r--src/modules/m_nopartmsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nopartmsg.cpp b/src/modules/m_nopartmsg.cpp
index afa44900d..1b1316ae5 100644
--- a/src/modules/m_nopartmsg.cpp
+++ b/src/modules/m_nopartmsg.cpp
@@ -40,7 +40,7 @@ class ModulePartMsgBan : public Module
if (!IS_LOCAL(user))
return;
- if (channel->IsExtBanned(user, 'p'))
+ if (channel->GetExtBanStatus(user, 'p') < 0)
partmessage = "";
return;