diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-18 16:55:27 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-18 16:55:27 +0000 |
commit | 32a26fa539242d009ffab01e09cafdaba9270dac (patch) | |
tree | cef3ba7e424faa783c67689ec22838185eef752b /src/modes/umode_n.cpp | |
parent | 3ca314bffcd18c2cc965594b46ca058e57aaa7e9 (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 'src/modes/umode_n.cpp')
-rw-r--r-- | src/modes/umode_n.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/umode_n.cpp b/src/modes/umode_n.cpp index b669f3ae2..db386a32b 100644 --- a/src/modes/umode_n.cpp +++ b/src/modes/umode_n.cpp @@ -21,7 +21,7 @@ ModeUserServerNoticeMask::ModeUserServerNoticeMask(InspIRCd* Instance) : ModeHan { } -ModeAction ModeUserServerNoticeMask::OnModeChange(User* source, User* dest, Channel*, std::string ¶meter, bool adding) +ModeAction ModeUserServerNoticeMask::OnModeChange(User* source, User* dest, Channel*, std::string ¶meter, bool adding, bool servermode) { /* Only opers can change other users modes */ if ((source != dest) && (!*source->oper)) |