summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/override_map.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-05-21 17:11:46 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-05-21 17:11:46 -0700
commitb36ce84c7da93f680fc397bcb4c877abe063eaaa (patch)
tree4e5a593816383612d0e49bf6e4affa4f3d354dc8 /src/modules/m_spanningtree/override_map.cpp
parent4710844dcae83f54acd89d84a9c8dad607dfa17d (diff)
parent3e105c6311c23787ff54388c8d21c8ac1a01fd57 (diff)
Merge pull request #545 from SaberUK/master+logging-cleanup
Clean up the logging system (part 1 of 2).
Diffstat (limited to 'src/modules/m_spanningtree/override_map.cpp')
-rw-r--r--src/modules/m_spanningtree/override_map.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/override_map.cpp b/src/modules/m_spanningtree/override_map.cpp
index 123a83718..72128a1c3 100644
--- a/src/modules/m_spanningtree/override_map.cpp
+++ b/src/modules/m_spanningtree/override_map.cpp
@@ -35,7 +35,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",LOG_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)
@@ -171,7 +171,7 @@ bool ModuleSpanningTree::HandleMap(const std::vector<std::string>& parameters, U
float avg_users = totusers * 1.0 / line;
- ServerInstance->Logs->Log("map",LOG_DEBUG,"local");
+ ServerInstance->Logs->Log("map", LOG_DEBUG, "local");
for (int t = 0; t < line; t++)
{
// terminate the string at maxnamew characters