diff options
Diffstat (limited to 'src/modules/m_invisible.cpp')
-rw-r--r-- | src/modules/m_invisible.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp index 4a3846ce4..7ccd8188b 100644 --- a/src/modules/m_invisible.cpp +++ b/src/modules/m_invisible.cpp @@ -53,7 +53,7 @@ class InvisibleMode : public ModeHandler delete qo; } - ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool) + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) { if (dest->IsModeSet('Q') != adding) { @@ -112,7 +112,7 @@ class InvisibleDeOper : public ModeWatcher { } - bool BeforeMode(User* source, User* dest, Channel* channel, std::string ¶m, bool adding, ModeType type, bool) + bool BeforeMode(User* source, User* dest, Channel* channel, std::string ¶m, bool adding, ModeType type) { /* Users who are opers and have +Q get their +Q removed when they deoper */ if ((!adding) && (dest->IsModeSet('Q'))) @@ -120,7 +120,7 @@ class InvisibleDeOper : public ModeWatcher std::vector<std::string> newmodes; newmodes.push_back(dest->nick); newmodes.push_back("-Q"); - ServerInstance->Modes->Process(newmodes, source, true); + ServerInstance->Modes->Process(newmodes, source); } return true; } |