From d996e8d6868af77fb216dfdc7aa8d9d80a65e298 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 21 Apr 2008 23:16:07 +0000 Subject: 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 --- src/snomasks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/snomasks.cpp') 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) -- cgit v1.3.1-10-gc9f91