From 3406c7234ac15b6a2fc52afa770fb851da25c215 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sun, 26 May 2013 23:23:47 +0200 Subject: 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 --- src/listmode.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/listmode.cpp') 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); -- cgit v1.2.3