]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/snomasks.cpp
Fix peavey and w00ts bug they found by removing the nonblocking part of the logger...
[user/henk/code/inspircd.git] / src / snomasks.cpp
index 32c77e99f6ce5a18018ba9f7c84bc7d0cf466ee7..6385af9c092ffe10565648203a1b12988346b628 100644 (file)
@@ -122,7 +122,7 @@ void Snomask::Flush()
        if (this->LastMessage.empty())
                return;
 
-       ServerInstance->Log(DEBUG, "Flusing snomask %s", this->Description.c_str());
+       ServerInstance->Logs->Log("SNOMASK", DEBUG, "Flushing snomask %s", this->Description.c_str());
 
        /* Only opers can receive snotices, so we iterate the oper list */
        for (std::list<User*>::iterator i = ServerInstance->Users->all_opers.begin(); i != ServerInstance->Users->all_opers.end(); i++)