From 1c1cff5f458eb85895a4928c34fc76668147943d Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 26 Feb 2006 13:26:44 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules') 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 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 &list) return; } -bool DoOneToAllButSenderRaw(std::string data, std::string omit, std::string prefix, std::string command, std::deque ¶ms) +bool DoOneToAllButSenderRaw(std::string data, std::string omit, std::string prefix, irc::string command, std::deque ¶ms) { TreeServer* omitroute = BestRouteTo(omit); if ((command == "NOTICE") || (command == "PRIVMSG")) -- cgit v1.2.3