diff options
| author | 2009-09-02 00:49:24 +0000 | |
|---|---|---|
| committer | 2009-09-02 00:49:24 +0000 | |
| commit | 3d8ec5dbd9cfde34fcbc63ad7b9b1369866f0a33 (patch) | |
| tree | a27087e7a9bfab5c9ed54a0bb5b8260b6bed0868 /src/modules/m_invisible.cpp | |
| parent | Remove duplicated address conversion from InspIRCd::BindSocket, fix FD leak i... (diff) | |
Remove "servermode" parameter, replace with IS_FAKE() which is more reliable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7
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; } |
