diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-06 14:43:09 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-06 14:43:09 +0000 |
commit | 4453552e34ebdb0cdaf547f6b81c299b061d469d (patch) | |
tree | 4fd6df7ca5fbf76e63761e26fb3797c7367a7364 /src/modules/m_spanningtree.cpp | |
parent | 1fce5fca1b5041a55edc8af8a58929bf2589a698 (diff) |
Added .c_str() in SVSNICK
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2229 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 2 |
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; |