diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_silence.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_silence_ext.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index 58188fd1f..72dbc6a73 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -64,7 +64,7 @@ class cmd_silence : public command_t char action = *parameters[0]; if (!mask.length()) - { + { // 'SILENCE +' or 'SILENCE -', assume *!*@* mask = "*!*@*"; } @@ -82,7 +82,7 @@ class cmd_silence : public command_t silencelist::iterator i = sl->find(mask.c_str()); if (i != sl->end()) { - sl->erase(i); + sl->erase(i); user->WriteServ("950 %s %s :Removed %s from silence list",user->nick, user->nick, mask.c_str()); if (!sl->size()) { diff --git a/src/modules/m_silence_ext.cpp b/src/modules/m_silence_ext.cpp index c75a72c3d..42a69ce1e 100644 --- a/src/modules/m_silence_ext.cpp +++ b/src/modules/m_silence_ext.cpp @@ -102,7 +102,7 @@ class cmd_silence : public command_t } if (!mask.length()) - { + { // 'SILENCE +' or 'SILENCE -', assume *!*@* mask = "*!*@*"; } |