]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixy
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 18 May 2008 14:29:04 +0000 (14:29 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 18 May 2008 14:29:04 +0000 (14:29 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9731 e03df62e-2008-0410-955e-edbf42e46eb7

src/snomasks.cpp

index 91e554dd67786e812bf42c8c4f38f21b32a273bc..f4dfdc1e117376b569f13a896ae56c33edf83f16 100644 (file)
@@ -127,7 +127,7 @@ void Snomask::Flush()
        if (this->LastMessage.empty())
                return;
 
-       a->WriteServ("NOTICE %s :*** %s: %s", a->nick, this->Description.c_str(), this->LastMessage.c_str());
+       ServerInstance->Logs->Log("snomask", DEFAULT, "%s: %s", this->Description.c_str(), this->LastMessage.c_str());
        if (Count > 1)
                ServerInstance->Logs->Log("snomask", DEFAULT, "%s: (last message repeated %u times)", this->Description.c_str(), Count);