]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treeserver.cpp
Make ping warnings and lag check global across all servers on a network. This means...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treeserver.cpp
index 5c85e5e5d29242982b7c8e864921290645e1c9b3..db26b3f889ee6a0a414eba0cd5ebd9a27e17d808 100644 (file)
@@ -77,7 +77,7 @@ TreeServer::TreeServer(SpanningTreeUtilities* Util, InspIRCd* Instance, std::str
        gettimeofday(&t, NULL);
        long ts = (t.tv_sec * 1000) + (t.tv_usec / 1000);
        this->StartBurst = ts;
-       Instance->Log(DEBUG, "Started bursting at time %lu", ts);
+       Instance->Logs->Log("m_spanningtree",DEBUG, "Started bursting at time %lu", ts);
 
        /* find the 'route' for this server (e.g. the one directly connected
         * to the local server, which we can use to reach it)
@@ -156,7 +156,7 @@ void TreeServer::FinishBurst()
 
 void TreeServer::SetID(const std::string &id)
 {
-       ServerInstance->Log(DEBUG, "Setting SID to " + id);
+       ServerInstance->Logs->Log("m_spanningtree",DEBUG, "Setting SID to " + id);
        sid = id;
        server_hash::iterator iter = Utils->sidlist.find(sid);
        if (iter == Utils->sidlist.end())