summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-18 21:22:17 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-18 21:22:17 +0000
commit7a49be0b34bfe4a8dd76600de98d68cd474ea6d6 (patch)
tree10d81742b8981297b6d7e4f6de5b0643596cdb9f /src
parentacf64694a6de7f580f0dc636fbc3788a6dc2ac2a (diff)
Test fix for topic loop
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3732 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree.cpp7
1 files changed, 3 insertions, 4 deletions
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;
}