From 3d8ec5dbd9cfde34fcbc63ad7b9b1369866f0a33 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:49:24 +0000 Subject: Remove "servermode" parameter, replace with IS_FAKE() which is more reliable git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/fmode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree') diff --git a/src/modules/m_spanningtree/fmode.cpp b/src/modules/m_spanningtree/fmode.cpp index 0328ad40b..d95c94284 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, (who == Utils->ServerUser), true); + ServerInstance->Modes->Process(modelist, who, true); /* HOT POTATO! PASS IT ON! */ Utils->DoOneToAllButSender(source,"FMODE",params,sourceserv); -- cgit v1.2.3