From 3d73ffea4a26150535ed36a86a40708f0504c41f Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 3 Feb 2008 23:46:11 +0000 Subject: Fix trivial desync with FTOPIC: if topic is identical, we still need to broadcast FTOPIC out to the network so all other servers update setter and settime git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8810 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/ftopic.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/modules/m_spanningtree') diff --git a/src/modules/m_spanningtree/ftopic.cpp b/src/modules/m_spanningtree/ftopic.cpp index de91c216d..f246d65c3 100644 --- a/src/modules/m_spanningtree/ftopic.cpp +++ b/src/modules/m_spanningtree/ftopic.cpp @@ -63,10 +63,11 @@ bool TreeSocket::ForceTopic(const std::string &source, std::deque & c->WriteChannel(user, "TOPIC %s :%s", c->name, c->topic); nsource = user->server; } - /* all done, send it on its way */ - params[3] = ":" + params[3]; - Utils->DoOneToAllButSender(source,"FTOPIC",params,nsource); } + + /* all done, send it on its way */ + params[3] = ":" + params[3]; + Utils->DoOneToAllButSender(source,"FTOPIC",params,nsource); } } -- cgit v1.2.3