diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-19 10:16:43 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-19 10:16:43 +0000 |
commit | f5ab16c85455ba88b08a669227f394dda96a55f9 (patch) | |
tree | d2d8ed47f5a76e09a3a6f231e1e10c0ee4dd98ae /src/modules/m_spanningtree.cpp | |
parent | 8e4b5230e3d00697daae08e5685479b9fbd55f09 (diff) |
References and stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5503 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index e651d55c9..ae9df6161 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -899,7 +899,7 @@ class TreeSocket : public InspSocket return result; } - bool Capab(std::deque<std::string> params) + bool Capab(const std::deque<std::string> ¶ms) { if (params.size() < 1) { @@ -1052,7 +1052,7 @@ class TreeSocket : public InspSocket * does some validation first and passes on the SQUIT to all * other remaining servers. */ - void Squit(TreeServer* Current,std::string reason) + void Squit(TreeServer* Current, const std::string &reason) { if ((Current) && (Current != Utils->TreeRoot)) { @@ -1084,7 +1084,7 @@ class TreeSocket : public InspSocket } /** FMODE command - server mode with timestamp checks */ - bool ForceMode(std::string source, std::deque<std::string> ¶ms) + bool ForceMode(const std::string &source, std::deque<std::string> ¶ms) { /* Chances are this is a 1.0 FMODE without TS */ if (params.size() < 3) @@ -1472,7 +1472,7 @@ class TreeSocket : public InspSocket } /** FTOPIC command */ - bool ForceTopic(std::string source, std::deque<std::string> ¶ms) + bool ForceTopic(const std::string &source, std::deque<std::string> ¶ms) { if (params.size() != 4) return true; @@ -1516,7 +1516,7 @@ class TreeSocket : public InspSocket } /** FJOIN, similar to TS6 SJOIN, but not quite. */ - bool ForceJoin(std::string source, std::deque<std::string> ¶ms) + bool ForceJoin(const std::string &source, std::deque<std::string> ¶ms) { /* 1.1 FJOIN works as follows: * @@ -1794,7 +1794,7 @@ class TreeSocket : public InspSocket } /** NICK command */ - bool IntroduceClient(std::string source, std::deque<std::string> ¶ms) + bool IntroduceClient(const std::string &source, std::deque<std::string> ¶ms) { if (params.size() < 8) return true; @@ -2931,7 +2931,7 @@ class TreeSocket : public InspSocket return false; } - void Split(std::string line, std::deque<std::string> &n) + void Split(const std::string &line, std::deque<std::string> &n) { n.clear(); irc::tokenstream tokens(line); @@ -2941,7 +2941,7 @@ class TreeSocket : public InspSocket return; } - bool ProcessLine(std::string line) + bool ProcessLine(std::string &line) { std::deque<std::string> params; irc::string command; |