diff options
| author | 2013-05-26 22:35:32 +0200 | |
|---|---|---|
| committer | 2013-06-01 23:41:42 +0200 | |
| commit | ca838821e7c53da0ddaee35d9a401e3a5eaf8c8c (patch) | |
| tree | 01aafc155364f74a95f04472ec9b18d44c820dde /src/modules/m_operprefix.cpp | |
| parent | Remove #define MAXPARAMETERS and "MAXPARA" 005 token (diff) | |
| download | inspircd++-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.cpp | 4 |
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 ¶meter, bool adding, ModeType type); + void AfterMode(User* source, User* dest, Channel* channel, const std::string ¶meter, 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); |
