summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-05 09:26:21 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-05 09:26:21 +0000
commit4c164adc0aeff25ff1698f1d38ee964f0f1cda4c (patch)
tree543a1109a7571320571d48c757f6c7f4fa115146
parent74a040e67986b6713c9905d00313ff8367ad2dc7 (diff)
fixed bouncy FHOST/FMODE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2185 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index f33149be2..5e20a3c0b 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -937,8 +937,8 @@ class TreeSocket : public InspSocket
if (u)
{
Srv->ChangeHost(u,params[0]);
+ DoOneToAllButSender(prefix,"FHOST",params,u->server);
}
- DoOneToAllButSender(prefix,"FHOST",params,prefix);
return true;
}
@@ -950,9 +950,9 @@ class TreeSocket : public InspSocket
if (u)
{
Srv->ChangeGECOS(u,params[0]);
+ params[0] = ":" + params[0];
+ DoOneToAllButSender(prefix,"FNAME",params,u->server);
}
- params[0] = ":" + params[0];
- DoOneToAllButSender(prefix,"FNAME",params,prefix);
return true;
}