summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}