diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-07-21 18:18:33 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-07-24 18:12:22 +0200 |
commit | c6b911132caba237f86280d1b2cb32ad3123f0da (patch) | |
tree | 8713ae256f7cdf66865b1b29de3e088376d6a59a /src/modules/m_spanningtree/treesocket1.cpp | |
parent | d763f0b2eeee0e1c9cade555ce21337a1be629df (diff) |
m_spanningtree Change the type of TreeServer::ServerName to std::string
Diffstat (limited to 'src/modules/m_spanningtree/treesocket1.cpp')
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 719c31bce..739b50dba 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -143,9 +143,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", LOG_DEBUG, "SquitServer for %s from %s", - servername.c_str(), from.c_str()); + ServerInstance->Logs->Log("m_spanningtree", LOG_DEBUG, "SquitServer for %s from %s", Current->GetName().c_str(), from.c_str()); /* recursively squit the servers attached to 'Current'. * We're going backwards so we don't remove users * while we still need them ;) |