summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-03 22:10:05 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-03 22:10:05 +0000
commite4d065f896ff6e8eef10b0fa554e47d969ef0354 (patch)
tree81164c9e065cc389010548306b3c2bdfce883cd4 /src/modules
parent484472efe4fb589c44898e23e88a5a7bc506b041 (diff)
Remove an assignment from definition (damn java thinking)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5837 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_silence_ext.cpp2
1 files changed, 1 insertions, 1 deletions
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)