From 7a49be0b34bfe4a8dd76600de98d68cd474ea6d6 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 18 Mar 2006 21:22:17 +0000 Subject: Test fix for topic loop git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3732 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/modules/m_spanningtree.cpp') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index a4977db69..62f07d70c 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -946,14 +946,13 @@ class TreeSocket : public InspSocket WriteChannel(c, user, "TOPIC %s :%s", c->name, c->topic); nsource = user->server; } + /* all done, send it on its way */ + params[3] = ":" + params[3]; + DoOneToAllButSender(source,"FTOPIC",params,nsource); } } } - - /* all done, send it on its way */ - params[3] = ":" + params[3]; - DoOneToAllButSender(source,"FTOPIC",params,nsource); return true; } -- cgit v1.2.3