summaryrefslogtreecommitdiff
path: root/include/modes/cmode_v.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-18 16:55:27 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-18 16:55:27 +0000
commit32a26fa539242d009ffab01e09cafdaba9270dac (patch)
treecef3ba7e424faa783c67689ec22838185eef752b /include/modes/cmode_v.h
parent3ca314bffcd18c2cc965594b46ca058e57aaa7e9 (diff)
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
Diffstat (limited to 'include/modes/cmode_v.h')
-rw-r--r--include/modes/cmode_v.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modes/cmode_v.h b/include/modes/cmode_v.h
index 0d0932066..f66761809 100644
--- a/include/modes/cmode_v.h
+++ b/include/modes/cmode_v.h
@@ -23,7 +23,7 @@ class ModeChannelVoice : public ModeHandler
private:
public:
ModeChannelVoice(InspIRCd* Instance);
- ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
+ ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool servermode);
std::string AddVoice(User *user,const char *dest,Channel *chan,int status);
std::string DelVoice(User *user,const char *dest,Channel *chan,int status);
ModePair ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter);