From ef970fe35babae4da5227416cd285d42016b186b Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 29 May 2012 20:56:54 +0200 Subject: m_spanningtree Add channel timestamp to FTOPIC in protocol version 1204 Fixes issue #148 --- src/modules/m_spanningtree/netburst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/netburst.cpp') diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp index f71bfed7c..c4cc93af8 100644 --- a/src/modules/m_spanningtree/netburst.cpp +++ b/src/modules/m_spanningtree/netburst.cpp @@ -156,7 +156,7 @@ void TreeSocket::SendFJoins(Channel* c) if (!c->topic.empty()) { - snprintf(list,MAXBUF,":%s FTOPIC %s %lu %s :%s", ServerInstance->Config->GetSID().c_str(), c->name.c_str(), (unsigned long)c->topicset, c->setby.c_str(), c->topic.c_str()); + snprintf(list,MAXBUF,":%s FTOPIC %s %lu %lu %s :%s", ServerInstance->Config->GetSID().c_str(), c->name.c_str(), (unsigned long) c->age, (unsigned long) c->topicset, c->setby.c_str(), c->topic.c_str()); WriteLine(list); } -- cgit v1.3.1-10-gc9f91