summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-03 12:30:22 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-03 12:30:22 +0000
commit04d3c5908ac002355a882300083642e0f5fc0ad2 (patch)
treecb4ac8fa0ec6aa8296ff5b51a8f9b16eb90c92b5 /src/modules/m_spanningtree.cpp
parent2a6bfde6fe85f3655063a48f54d4266f52aebc98 (diff)
Make spanningtree compile again >_<
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4103 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 2798b7fb3..f9a4faffb 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2230,7 +2230,7 @@ class TreeSocket : public InspSocket
if ((params[0][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();