From ba5c0db795824c3fc1ad48ce332d7bdc440cb77f Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sat, 17 Nov 2012 02:36:29 +0100 Subject: Change empty string assignments to .clear() or remove them entirely --- src/modules/m_nopartmsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_nopartmsg.cpp') 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; } -- cgit v1.2.3