diff options
| author | 2013-05-26 23:23:47 +0200 | |
|---|---|---|
| committer | 2013-05-27 01:07:30 +0200 | |
| commit | 3406c7234ac15b6a2fc52afa770fb851da25c215 (patch) | |
| tree | a772480ea9d1d01f038ea4f7704630831ca35541 /src/listmode.cpp | |
| parent | Deduplicate RemoveMode() implementations (diff) | |
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/listmode.cpp')
| -rw-r--r-- | src/listmode.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp index 5d54d8417..b7b1cbc51 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -57,11 +57,6 @@ void ListModeBase::RemoveMode(Channel* channel, irc::modestacker& stack) } } -void ListModeBase::RemoveMode(User*, irc::modestacker* stack) -{ - /* Listmodes dont get set on users */ -} - void ListModeBase::DoRehash() { ConfigTagList tags = ServerInstance->Config->ConfTags(configtag); |
