From: brain Date: Mon, 5 Dec 2005 09:26:21 +0000 (+0000) Subject: fixed bouncy FHOST/FMODE X-Git-Tag: v2.0.23~9849 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=4c164adc0aeff25ff1698f1d38ee964f0f1cda4c;p=user%2Fhenk%2Fcode%2Finspircd.git fixed bouncy FHOST/FMODE git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2185 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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; }