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 --- include/modes/cmode_b.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/modes/cmode_b.h') diff --git a/include/modes/cmode_b.h b/include/modes/cmode_b.h index e8274aff8..fc5eb0892 100644 --- a/include/modes/cmode_b.h +++ b/include/modes/cmode_b.h @@ -24,8 +24,8 @@ class ModeChannelBan : public ModeHandler BanItem b; public: ModeChannelBan(InspIRCd* Instance); - ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding); - std::string& AddBan(User *user,std::string& dest,Channel *chan,int status); + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool servermode); + std::string& AddBan(User *user,std::string& dest,Channel *chan,int status, bool servermode); std::string& DelBan(User *user,std::string& dest,Channel *chan,int status); void DisplayList(User* user, Channel* channel); void DisplayEmptyList(User* user, Channel* channel); -- cgit v1.2.3