summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-07 14:24:18 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-07 14:24:18 +0000
commit5aed4a670019daf0b73ad0f960c4a471825e33a8 (patch)
tree6d11bc356c92789ca21e864475569cbc8608b56d /src/modules/m_spanningtree
parent13be617717318aef8e7f9ffeff9cd44c24c0b745 (diff)
FTOPIC from another server now (correctly) shows local server name to obscure remote
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6900 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp
index 66d223fa6..996f96a9f 100644
--- a/src/modules/m_spanningtree/treesocket1.cpp
+++ b/src/modules/m_spanningtree/treesocket1.cpp
@@ -706,7 +706,7 @@ bool TreeSocket::ForceTopic(const std::string &source, std::deque<std::string> &
userrec* user = this->Instance->FindNick(source);
if (!user)
{
- c->WriteChannelWithServ(source.c_str(), "TOPIC %s :%s", c->name, c->topic);
+ c->WriteChannelWithServ(Instance->Config->ServerName, "TOPIC %s :%s", c->name, c->topic);
}
else
{