summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-04 13:56:08 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-04 13:56:08 +0000
commite03a68a837a02354a5a253ec5f2a60229d62143c (patch)
tree6900172b61d56e7ca094d07e22d10ce66177e268 /src
parentcd969f47e26cb9ed2e3e6a7ded85105abb7b1ce6 (diff)
Fixed typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2140 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index f04f79a65..97e3e9916 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1718,9 +1718,11 @@ class ModuleSpanningTree : public Module
{
// first in the channel, set up their permissions
// and the channel TS with FJOIN.
+ char ts[24];
+ snprintf(ts,24,"%lu",(unsigned long)channel->age);
params.clear();
params.push_back(channel->name);
- params.push_back(channel->age);
+ params.push_back(ts);
params.push_back("@"+std::string(user->nick));
DoOneToMany(Srv->GetServerName(),"FJOIN",params);
}