diff options
| author | 2013-05-26 23:23:47 +0200 | |
|---|---|---|
| committer | 2013-05-27 01:07:30 +0200 | |
| commit | 3406c7234ac15b6a2fc52afa770fb851da25c215 (patch) | |
| tree | a772480ea9d1d01f038ea4f7704630831ca35541 /src/modules/m_customprefix.cpp | |
| parent | Deduplicate RemoveMode() implementations (diff) | |
| download | inspircd++-3406c7234ac15b6a2fc52afa770fb851da25c215.tar.gz inspircd++-3406c7234ac15b6a2fc52afa770fb851da25c215.tar.bz2 inspircd++-3406c7234ac15b6a2fc52afa770fb851da25c215.zip | |
Simplify user mode removal via ModeHandler::RemoveMode()
The function does not need to be virtual because the core can remove any user mode using the default logic
The optional modestack parameter was always NULL, so remove it
Diffstat (limited to 'src/modules/m_customprefix.cpp')
| -rw-r--r-- | src/modules/m_customprefix.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/m_customprefix.cpp b/src/modules/m_customprefix.cpp index 6f9f4da28..67d1d2fe9 100644 --- a/src/modules/m_customprefix.cpp +++ b/src/modules/m_customprefix.cpp @@ -53,10 +53,6 @@ class CustomPrefixMode : public ModeHandler return MOD_RES_PASSTHRU; } - void RemoveMode(User* user, irc::modestacker* stack) - { - } - ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) { return MODEACTION_ALLOW; |
