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/modes/umode_o.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modes/umode_o.cpp') diff --git a/src/modes/umode_o.cpp b/src/modes/umode_o.cpp index 6848f6e17..02550ffe5 100644 --- a/src/modes/umode_o.cpp +++ b/src/modes/umode_o.cpp @@ -21,7 +21,7 @@ ModeUserOperator::ModeUserOperator(InspIRCd* Instance) : ModeHandler(Instance, N { } -ModeAction ModeUserOperator::OnModeChange(User* source, User* dest, Channel*, std::string&, bool adding, bool servermode) +ModeAction ModeUserOperator::OnModeChange(User* source, User* dest, Channel*, std::string&, bool adding) { /* Only opers can execute this class at all */ if (!ServerInstance->ULine(source->nick.c_str()) && !ServerInstance->ULine(source->server) && source->oper.empty()) -- cgit v1.2.3