diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-04-12 07:58:58 -0700 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-04-12 07:58:58 -0700 |
commit | a5fe50aca04ca554d313e7361c571c6a497a9c4e (patch) | |
tree | 88fdf155712654b0c783bb53770d8e80e28b0d10 /src/modules/m_spanningtree/treesocket1.cpp | |
parent | 1858feabd342636df0b52780c978979b4e049fc3 (diff) | |
parent | 645f7e18c64a6628ede880dc69bf8825ba93b375 (diff) |
Merge pull request #488 from SaberUK/master+loglevel-rename
Add LOG_ prefix to the log level enum values.
Diffstat (limited to 'src/modules/m_spanningtree/treesocket1.cpp')
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 6582ba060..26171ee72 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -158,7 +158,7 @@ void TreeSocket::SendError(const std::string &errormessage) void TreeSocket::SquitServer(std::string &from, TreeServer* Current, int& num_lost_servers, int& num_lost_users) { std::string servername = Current->GetName(); - ServerInstance->Logs->Log("m_spanningtree",DEBUG,"SquitServer for %s from %s", + ServerInstance->Logs->Log("m_spanningtree",LOG_DEBUG,"SquitServer for %s from %s", servername.c_str(), from.c_str()); /* recursively squit the servers attached to 'Current'. * We're going backwards so we don't remove users @@ -220,7 +220,7 @@ void TreeSocket::Squit(TreeServer* Current, const std::string &reason) } } else - ServerInstance->Logs->Log("m_spanningtree",DEFAULT,"Squit from unknown server"); + ServerInstance->Logs->Log("m_spanningtree",LOG_DEFAULT,"Squit from unknown server"); } /** This function is called when we receive data from a remote |