diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-18 19:53:23 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-18 19:53:23 +0000 |
commit | 365fd7e1e903e99d7e3399487d1cf9204ebe64fa (patch) | |
tree | 0cbbbd6419d7530c66ddda9f016b4c95cf6cf9d0 /src/modules | |
parent | a2d8fbc45df57e2063f77a34f6fd88a73087555d (diff) |
Indent tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4970 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_silence.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index c331de38a..7f8b49287 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -86,18 +86,18 @@ class cmd_silence : public command_t if (sl->size()) { for (silencelist::iterator i = sl->begin(); i != sl->end(); i++) - { + { // search through for the item irc::string listitem = i->c_str(); if (listitem == mask) - { - sl->erase(i); + { + sl->erase(i); user->WriteServ("950 %s %s :Removed %s from silence list",user->nick, user->nick, mask.c_str()); break; - } - } + } + } } - if (!sl->size()) + else { // tidy up -- if a user's list is empty, theres no use having it // hanging around in the user record. |