From e20d6e0bbad966865e3f4fba4482c03eef09cb76 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:51:41 +0000 Subject: Don't merge FMODEs with a non-server source git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11648 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/fmode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_spanningtree/fmode.cpp b/src/modules/m_spanningtree/fmode.cpp index d95c94284..3421f8045 100644 --- a/src/modules/m_spanningtree/fmode.cpp +++ b/src/modules/m_spanningtree/fmode.cpp @@ -97,7 +97,7 @@ bool TreeSocket::ForceMode(const std::string &source, parameterlist ¶ms) */ if (TS <= ourTS) { - ServerInstance->Modes->Process(modelist, who, true); + ServerInstance->Modes->Process(modelist, who, (who == Utils->ServerUser)); /* HOT POTATO! PASS IT ON! */ Utils->DoOneToAllButSender(source,"FMODE",params,sourceserv); -- cgit v1.2.3