From b4dd810b3db3d687d24415c694853ded0cfa5c9d Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 30 Nov 2005 22:36:55 +0000 Subject: Modes being sent, but remote side not applying them? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2075 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 431d03111..3dfd80edf 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1648,12 +1648,12 @@ class ModuleSpanningTree : public Module if (target_type == TYPE_USER) { userrec* u = (userrec*)target; - s->WriteLine(":"+s->GetName()+" FMODE "+u->nick+" "+modeline); + s->WriteLine(":"+Srv->GetServerName()+" FMODE "+u->nick+" "+modeline); } else { chanrec* c = (chanrec*)target; - s->WriteLine(":"+s->GetName()+" FMODE "+c->name+" "+modeline); + s->WriteLine(":"+Srv->GetServerName()+" FMODE "+c->name+" "+modeline); } } } -- cgit v1.2.3