diff options
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/ftopic.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/ftopic.cpp b/src/modules/m_spanningtree/ftopic.cpp index 15a2c962f..80854f3b1 100644 --- a/src/modules/m_spanningtree/ftopic.cpp +++ b/src/modules/m_spanningtree/ftopic.cpp @@ -57,7 +57,11 @@ bool TreeSocket::ForceTopic(const std::string &source, std::deque<std::string> & /* all done, send it on its way */ params[3] = ":" + params[3]; - Utils->DoOneToAllButSender(source,"FTOPIC",params,nsource); + User* u = Instance->FindNick(nsource); + if (u) + Utils->DoOneToAllButSender(u->uuid,"FTOPIC",params,u->server); + else + Utils->DoOneToAllButSender(source,"FTOPIC",params,nsource); } } |