aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_operprefix.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-05-26 22:35:32 +0200
committerGravatar attilamolnar2013-06-01 23:41:42 +0200
commitca838821e7c53da0ddaee35d9a401e3a5eaf8c8c (patch)
tree01aafc155364f74a95f04472ec9b18d44c820dde /src/modules/m_operprefix.cpp
parentRemove #define MAXPARAMETERS and "MAXPARA" 005 token (diff)
downloadinspircd++-ca838821e7c53da0ddaee35d9a401e3a5eaf8c8c.tar.gz
inspircd++-ca838821e7c53da0ddaee35d9a401e3a5eaf8c8c.tar.bz2
inspircd++-ca838821e7c53da0ddaee35d9a401e3a5eaf8c8c.zip
Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()
Diffstat (limited to 'src/modules/m_operprefix.cpp')
-rw-r--r--src/modules/m_operprefix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operprefix.cpp b/src/modules/m_operprefix.cpp
index 2360ae2a4..b0737cb9a 100644
--- a/src/modules/m_operprefix.cpp
+++ b/src/modules/m_operprefix.cpp
@@ -66,7 +66,7 @@ class HideOperWatcher : public ModeWatcher
ModuleOperPrefixMode* parentmod;
public:
HideOperWatcher(ModuleOperPrefixMode* parent) : ModeWatcher((Module*) parent, 'H', MODETYPE_USER), parentmod(parent) {}
- void AfterMode(User* source, User* dest, Channel* channel, const std::string &parameter, bool adding, ModeType type);
+ void AfterMode(User* source, User* dest, Channel* channel, const std::string &parameter, bool adding);
};
class ModuleOperPrefixMode : public Module
@@ -159,7 +159,7 @@ class ModuleOperPrefixMode : public Module
}
};
-void HideOperWatcher::AfterMode(User* source, User* dest, Channel* channel, const std::string& parameter, bool adding, ModeType type)
+void HideOperWatcher::AfterMode(User* source, User* dest, Channel* channel, const std::string& parameter, bool adding)
{
if (IS_LOCAL(dest))
parentmod->SetOperPrefix(dest, !adding);