summaryrefslogtreecommitdiff
path: root/src/snomasks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/snomasks.cpp')
-rw-r--r--src/snomasks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snomasks.cpp b/src/snomasks.cpp
index 2ab473b45..eaa7bd1f1 100644
--- a/src/snomasks.cpp
+++ b/src/snomasks.cpp
@@ -158,7 +158,7 @@ void Snomask::Flush()
{
// XXX this is a bit ugly.
std::string sno;
- sno[0] = MySnomask;
+ sno += MySnomask;
ServerInstance->PI->SendSNONotice(sno, this->Description + ": " + this->LastMessage);
if (Count > 1)