]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/override_map.cpp
m_spanningtree Introduce new function to send channel messages
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / override_map.cpp
index 69f088f654b6ac1064b0453849b67d2efd4d4ddf..5c69aef16c1a1083c4c9239ac0440a7002a9d286 100644 (file)
@@ -38,7 +38,7 @@ const std::string ModuleSpanningTree::MapOperInfo(TreeServer* Current)
 
 void ModuleSpanningTree::ShowMap(TreeServer* Current, User* user, int depth, int &line, char* names, int &maxnamew, char* stats)
 {
-       ServerInstance->Logs->Log("map",DEBUG,"ShowMap depth %d on line %d", depth, line);
+       ServerInstance->Logs->Log("map",LOG_DEBUG,"ShowMap depth %d on line %d", depth, line);
        float percent;
 
        if (ServerInstance->Users->clientlist->size() == 0)
@@ -174,7 +174,7 @@ bool ModuleSpanningTree::HandleMap(const std::vector<std::string>& parameters, U
 
        float avg_users = totusers * 1.0 / line;
 
-       ServerInstance->Logs->Log("map",DEBUG,"local");
+       ServerInstance->Logs->Log("map",LOG_DEBUG,"local");
        for (int t = 0; t < line; t++)
        {
                // terminate the string at maxnamew characters