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_l.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/modes/cmode_l.h') diff --git a/include/modes/cmode_l.h b/include/modes/cmode_l.h index abdb339a6..e1435dc62 100644 --- a/include/modes/cmode_l.h +++ b/include/modes/cmode_l.h @@ -21,7 +21,7 @@ class ModeChannelLimit : public ModeHandler { public: ModeChannelLimit(InspIRCd* Instance); - ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding); + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool servermode); ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string ¶meter); bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, Channel* channel); }; -- cgit v1.2.3