diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-26 13:29:53 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-26 13:29:53 +0000 |
commit | 1dec63e8be205c7abca65db65030d0f48c6d610e (patch) | |
tree | a17099e1219d3685ce2a075c392fdff2fcc50a4d /src | |
parent | 1c1cff5f458eb85895a4928c34fc76668147943d (diff) |
Tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3340 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 998fc0798..7dda3e7f3 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -121,7 +121,7 @@ server_hash serverlist; bool DoOneToOne(std::string prefix, std::string command, std::deque<std::string> ¶ms, std::string target); bool DoOneToAllButSender(std::string prefix, std::string command, std::deque<std::string> ¶ms, std::string omit); bool DoOneToMany(std::string prefix, std::string command, std::deque<std::string> ¶ms); -bool DoOneToAllButSenderRaw(std::string data, std::string omit, std::string prefix, std::string command, std::deque<std::string> ¶ms); +bool DoOneToAllButSenderRaw(std::string data, std::string omit, std::string prefix, irc::string command, std::deque<std::string> ¶ms); void ReadConfiguration(bool rebind); /* Flatten links and /MAP for non-opers */ @@ -2451,7 +2451,7 @@ class TreeSocket : public InspSocket { strparams[q] = (char*)params[q].c_str(); } - Srv->CallCommandHandler(command, strparams, params.size(), who); + Srv->CallCommandHandler(command.c_str(), strparams, params.size(), who); } else { @@ -2570,7 +2570,7 @@ bool DoOneToAllButSenderRaw(std::string data, std::string omit, std::string pref std::deque<std::string> par; par.push_back(params[0]); par.push_back(":"+params[1]); - DoOneToOne(prefix,command,par,d->server); + DoOneToOne(prefix,command.c_str(),par,d->server); return true; } } |