summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-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;
}