diff options
| author | 2008-02-18 16:55:27 +0000 | |
|---|---|---|
| committer | 2008-02-18 16:55:27 +0000 | |
| commit | 32a26fa539242d009ffab01e09cafdaba9270dac (patch) | |
| tree | cef3ba7e424faa783c67689ec22838185eef752b /src/modes/cmode_h.cpp | |
| parent | Merge in patch by Darom that fixes race condition when unloading m_mysql.so t... (diff) | |
| download | inspircd++-32a26fa539242d009ffab01e09cafdaba9270dac.tar.gz inspircd++-32a26fa539242d009ffab01e09cafdaba9270dac.tar.bz2 inspircd++-32a26fa539242d009ffab01e09cafdaba9270dac.zip | |
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/cmode_h.cpp')
| -rw-r--r-- | src/modes/cmode_h.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/cmode_h.cpp b/src/modes/cmode_h.cpp index 124506f63..26ec55de3 100644 --- a/src/modes/cmode_h.cpp +++ b/src/modes/cmode_h.cpp @@ -70,7 +70,7 @@ void ModeChannelHalfOp::RemoveMode(User*) { } -ModeAction ModeChannelHalfOp::OnModeChange(User* source, User*, Channel* channel, std::string ¶meter, bool adding) +ModeAction ModeChannelHalfOp::OnModeChange(User* source, User*, Channel* channel, std::string ¶meter, bool adding, bool servermode) { /* If halfops are not enabled in the conf, we don't execute * anything in this class at all. |
