From 32a26fa539242d009ffab01e09cafdaba9270dac Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 18 Feb 2008 16:55:27 +0000 Subject: Someone please help me fix the warnings in modules caused by this change. All mode handler OnMode events, ModeWatcher::BeforeMode/AfterMode, plus OnRawMode now have a bool servermode parameter git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8964 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/umode_s.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modes/umode_s.cpp') diff --git a/src/modes/umode_s.cpp b/src/modes/umode_s.cpp index 94068065f..4e5fba8e0 100644 --- a/src/modes/umode_s.cpp +++ b/src/modes/umode_s.cpp @@ -21,7 +21,7 @@ ModeUserServerNotice::ModeUserServerNotice(InspIRCd* Instance) : ModeHandler(Ins { } -ModeAction ModeUserServerNotice::OnModeChange(User* source, User* dest, Channel*, std::string&, bool adding) +ModeAction ModeUserServerNotice::OnModeChange(User* source, User* dest, Channel*, std::string&, bool adding, bool servermode) { /* Only opers can change other users modes */ if ((source != dest) && (!*source->oper)) -- cgit v1.2.3