From 57b3a40afa34a9f2db3fe39455fe2dfa33ab8695 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 17 Apr 2022 11:23:14 +0100 Subject: Refactor ListModeBase::OnModeChange. --- include/listmode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/listmode.h b/include/listmode.h index 953957646..b309e76cd 100644 --- a/include/listmode.h +++ b/include/listmode.h @@ -167,7 +167,7 @@ public: * @param channel Channel the parameter is being added to * @param parameter The actual parameter being added */ - virtual void TellListTooLong(User* source, Channel* channel, std::string& parameter); + virtual void TellListTooLong(LocalUser* source, Channel* channel, std::string& parameter); /** Tell the user an item is already on the list. * Overridden by implementing module. @@ -175,7 +175,7 @@ public: * @param channel Channel the parameter is being added to * @param parameter The actual parameter being added */ - virtual void TellAlreadyOnList(User* source, Channel* channel, std::string& parameter); + virtual void TellAlreadyOnList(LocalUser* source, Channel* channel, std::string& parameter); /** Tell the user that the parameter is not in the list. * Overridden by implementing module. @@ -183,7 +183,7 @@ public: * @param channel Channel the parameter is being removed from * @param parameter The actual parameter being removed */ - virtual void TellNotSet(User* source, Channel* channel, std::string& parameter); + virtual void TellNotSet(LocalUser* source, Channel* channel, std::string& parameter); }; inline ListModeBase::ModeList* ListModeBase::GetList(Channel* channel) -- cgit v1.3.1-10-gc9f91