summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 22:36:55 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 22:36:55 +0000
commitb4dd810b3db3d687d24415c694853ded0cfa5c9d (patch)
treec63a7179700569dff6bed2216e0531f1f53419b3
parentc2526493455dac1f11c0d1851e1e329d2b7fbe89 (diff)
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
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}
}
}