diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-11 17:53:42 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-11 17:53:42 +0000 |
commit | 9a0c30d6b9cfbd0bc70918ef4c605a92d1dc6914 (patch) | |
tree | 245726d48e22be8eca94500c894e16f897ce4e25 | |
parent | cf2b0d0e480c5b88dddf8905101815161e33f0da (diff) |
Misc. fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3157 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 2577bdb18..96eb2fc63 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1717,14 +1717,14 @@ class TreeSocket : public InspSocket userrec* u = Srv->FindNick(params[1]); if ((u) && (IS_LOCAL(u))) { - time_t rawtime = atol(params[2]); + time_t rawtime = atol(params[2].c_str()); struct tm * timeinfo; timeinfo = localtime(&rawtime); - WriteServ(u->fd,"391 %s %s :%s",u->nick,source,asctime(timeinfo)); + WriteServ(u->fd,"391 %s %s :%s",u->nick,prefix.c_str(),asctime(timeinfo)); } else { - DoOneToOne(source,"TIME",params,u->server); + DoOneToOne(prefix,"TIME",params,u->server); } } return true; |