diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-05-26 23:23:47 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-05-27 01:07:30 +0200 |
commit | 3406c7234ac15b6a2fc52afa770fb851da25c215 (patch) | |
tree | a772480ea9d1d01f038ea4f7704630831ca35541 /include/listmode.h | |
parent | 9bb24d3f458274b7485554bc95f1274900a69ec2 (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 'include/listmode.h')
-rw-r--r-- | include/listmode.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/listmode.h b/include/listmode.h index b4601fcbd..149f41578 100644 --- a/include/listmode.h +++ b/include/listmode.h @@ -152,10 +152,6 @@ class CoreExport ListModeBase : public ModeHandler */ virtual void RemoveMode(Channel* channel, irc::modestacker& stack); - /** Listmodes don't get set on users, no-op - */ - virtual void RemoveMode(User*, irc::modestacker* stack); - /** Perform a rehash of this mode's configuration data */ virtual void DoRehash(); |