aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/server.cpp')
-rw-r--r--src/modules/m_spanningtree/server.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/server.cpp b/src/modules/m_spanningtree/server.cpp
index 82777845e..fa3115ada 100644
--- a/src/modules/m_spanningtree/server.cpp
+++ b/src/modules/m_spanningtree/server.cpp
@@ -93,7 +93,7 @@ bool TreeSocket::Outbound_Reply_Server(parameterlist &params)
return false;
}
- irc::string servername = params[0].c_str();
+ std::string servername = params[0];
std::string sname = params[0];
std::string password = params[1];
std::string sid = params[3];
@@ -138,7 +138,7 @@ bool TreeSocket::Outbound_Reply_Server(parameterlist &params)
if (CheckDupe)
{
this->SendError("Server ID "+sid+" already exists on the network! You may want to specify the server ID for the server manually with <server:id> so they do not conflict.");
- ServerInstance->SNO->WriteToSnoMask('l',"Server \2"+assign(servername)+"\2 being introduced denied, server ID already exists on the network. Closing link.");
+ ServerInstance->SNO->WriteToSnoMask('l',"Server \2"+servername+"\2 being introduced denied, server ID already exists on the network. Closing link.");
return false;
}
@@ -185,7 +185,7 @@ bool TreeSocket::Inbound_Server(parameterlist &params)
return false;
}
- irc::string servername = params[0].c_str();
+ std::string servername = params[0];
std::string sname = params[0];
std::string password = params[1];
std::string sid = params[3];