summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 13:26:44 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 13:26:44 +0000
commit1c1cff5f458eb85895a4928c34fc76668147943d (patch)
tree25cb84bd18928e98b849d1d69bba92be75dde32a /src/modules/m_spanningtree.cpp
parent303877d781f7140be68d730f78b9e478354ce4df (diff)
Moved to irc::string for commands in server-server so that whiney newbs can get os raw to work and fuck their networks over
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3339 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index f879aecdb..998fc0798 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2077,12 +2077,12 @@ class TreeSocket : public InspSocket
std::deque<std::string> params;
this->Split(line,true,params);
- std::string command = "";
+ irc::string command = "";
std::string prefix = "";
if (((params[0].c_str())[0] == ':') && (params.size() > 1))
{
prefix = params[0];
- command = params[1];
+ command = params[1].c_str();
char* pref = (char*)prefix.c_str();
prefix = ++pref;
params.pop_front();
@@ -2091,7 +2091,7 @@ class TreeSocket : public InspSocket
else
{
prefix = "";
- command = params[0];
+ command = params[0].c_str();
params.pop_front();
}
@@ -2549,7 +2549,7 @@ void GetListOfServersForChannel(chanrec* c, std::deque<TreeServer*> &list)
return;
}
-bool DoOneToAllButSenderRaw(std::string data, std::string omit, std::string prefix, std::string command, std::deque<std::string> &params)
+bool DoOneToAllButSenderRaw(std::string data, std::string omit, std::string prefix, irc::string command, std::deque<std::string> &params)
{
TreeServer* omitroute = BestRouteTo(omit);
if ((command == "NOTICE") || (command == "PRIVMSG"))