summaryrefslogtreecommitdiff
path: root/src/snomasks.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-21 23:16:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-21 23:16:07 +0000
commitd996e8d6868af77fb216dfdc7aa8d9d80a65e298 (patch)
tree67407662a07904c54f7d9a543307e4e2b7c4ea1a /src/snomasks.cpp
parent15a1ffae233e1bf28a3c1dc9e1e8b6298c6a0f57 (diff)
Fix bug found by peavey, which much frustrated him and w00t. He leiks mudkipz. Also fix bug #522 reported by Casey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9575 e03df62e-2008-0410-955e-edbf42e46eb7
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)