summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:51:41 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:51:41 +0000
commite20d6e0bbad966865e3f4fba4482c03eef09cb76 (patch)
treec4d65a937525545eaf2d4b3b51aaa4f7b5b1c68c
parent54e89b822e36b36eb9b080bbb4befe097471cec2 (diff)
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
-rw-r--r--src/modules/m_spanningtree/fmode.cpp2
1 files changed, 1 insertions, 1 deletions
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 &params)
*/
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);