summaryrefslogtreecommitdiff
path: root/src/modules/m_nopartmsg.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-11-17 02:36:29 +0100
committerattilamolnar <attilamolnar@hush.com>2012-11-19 18:32:41 +0100
commitba5c0db795824c3fc1ad48ce332d7bdc440cb77f (patch)
tree0ef76daaf8ad4cc68a2cca9c1c2446ae045278e2 /src/modules/m_nopartmsg.cpp
parent2de13e15c26edf4f4a5c0280974b2dea052c1853 (diff)
Change empty string assignments to .clear() or remove them entirely
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;
}