diff options
| author | 2006-07-03 12:28:38 +0000 | |
|---|---|---|
| committer | 2006-07-03 12:28:38 +0000 | |
| commit | 2a6bfde6fe85f3655063a48f54d4266f52aebc98 (patch) | |
| tree | a371d7890adc54cf392d16c24fe95bae244575c7 /src/modules/m_spanningtree.cpp | |
| parent | Enhance with new numerics for latest turkish moron detection (diff) | |
| download | inspircd++-2a6bfde6fe85f3655063a48f54d4266f52aebc98.tar.gz inspircd++-2a6bfde6fe85f3655063a48f54d4266f52aebc98.tar.bz2 inspircd++-2a6bfde6fe85f3655063a48f54d4266f52aebc98.zip | |
Typo fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4102 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
| -rw-r--r-- | src/modules/m_spanningtree.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index b88083c3f..2798b7fb3 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2223,12 +2223,14 @@ class TreeSocket : public InspSocket std::deque<std::string> params; this->Split(line.c_str(),true,params); + irc::string command = ""; std::string prefix = ""; - if (((params[0].c_str())[0] == ':') && (params.size() > 1)) + + if ((params[0][0] == ':') && (params.size() > 1)) { prefix = params[0]; - command = params[1].c_str(); + command = params[1]; char* pref = (char*)prefix.c_str(); prefix = ++pref; params.pop_front(); |
