From e4d065f896ff6e8eef10b0fa554e47d969ef0354 Mon Sep 17 00:00:00 2001 From: peavey Date: Sun, 3 Dec 2006 22:10:05 +0000 Subject: Remove an assignment from definition (damn java thinking) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5837 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_silence_ext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_silence_ext.cpp b/src/modules/m_silence_ext.cpp index 168dab788..d5f457405 100644 --- a/src/modules/m_silence_ext.cpp +++ b/src/modules/m_silence_ext.cpp @@ -219,7 +219,7 @@ class cmd_silence : public command_t /* turn the mask into a nice human readable format */ std::string DecompPattern (const int pattern) { - std::string out = ""; + std::string out; if ((pattern & SILENCE_PRIVATE) > 0) out += ",privatemessages"; if ((pattern & SILENCE_CHANNEL) > 0) -- cgit v1.2.3