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 0c5660571..a8c4a5e2b 100644
--- a/src/modules/m_nopartmsg.cpp
+++ b/src/modules/m_nopartmsg.cpp
@@ -47,7 +47,7 @@ class ModulePartMsgBan : public Module
return;
if (memb->chan->GetExtBanStatus(memb->user, 'p') == MOD_RES_DENY)
- partmessage = "";
+ partmessage.clear();
return;
}