diff options
-rw-r--r-- | src/modules/m_silence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index 1e73bda27..55e1da81d 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -282,7 +282,7 @@ class CommandSilence : public SplitCommand std::string mask = parameters[0]; if (mask[0] == '-' || mask[0] == '+') { - mask.erase(0); + mask.erase(0, 1); if (mask.empty()) mask.assign("*"); ModeParser::CleanMask(mask); |