aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_invisible.cpp
diff options
context:
space:
mode:
authorGravatar w00t2008-02-18 17:37:35 +0000
committerGravatar w00t2008-02-18 17:37:35 +0000
commite21ee18e62aecee6d27a0f9ba497a52688cb8349 (patch)
tree3c5087d5abd8212aa481eb82f44af3560632825c /src/modules/m_invisible.cpp
parentFix this first, as this actually has use of the new parameter same as cmode_b... (diff)
downloadinspircd++-e21ee18e62aecee6d27a0f9ba497a52688cb8349.tar.gz
inspircd++-e21ee18e62aecee6d27a0f9ba497a52688cb8349.tar.bz2
inspircd++-e21ee18e62aecee6d27a0f9ba497a52688cb8349.zip
Phew. Fix a bunch of method sigs to stop warnings.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8966 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_invisible.cpp')
-rw-r--r--src/modules/m_invisible.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp
index 3f816b3c0..3b3155be8 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 &parameter, bool adding)
+ ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding, bool)
{
if (source != dest)
return MODEACTION_DENY;
@@ -135,7 +135,7 @@ class InvisibleDeOper : public ModeWatcher
{
}
- bool BeforeMode(User* source, User* dest, Channel* channel, std::string &param, bool adding, ModeType type)
+ bool BeforeMode(User* source, User* dest, Channel* channel, std::string &param, bool adding, ModeType type, bool)
{
/* Users who are opers and have +Q get their +Q removed when they deoper */
if ((!adding) && (dest->IsModeSet('Q')))