summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-06 14:43:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-06 14:43:09 +0000
commit4453552e34ebdb0cdaf547f6b81c299b061d469d (patch)
tree4fd6df7ca5fbf76e63761e26fb3797c7367a7364
parent1fce5fca1b5041a55edc8af8a58929bf2589a698 (diff)
Added .c_str() in SVSNICK
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2229 e03df62e-2008-0410-955e-edbf42e46eb7
-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 b19d1fd3f..f5da4c51c 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -958,7 +958,7 @@ class TreeSocket : public InspSocket
if (u)
{
Srv->ChangeUserNick(u,params[1]);
- u->age = atoi(params[2]);
+ u->age = atoi(params[2].c_str());
DoOneToAllButSender(prefix,"SVSNICK",params,prefix);
}
return true;