From 3290ebd36ada5c3f698a124163191187b494c912 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 22 Feb 2024 17:11:46 +0000 Subject: GetMaxListFor: use size_t and add a default like the other fields. --- include/protocol.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/protocol.h b/include/protocol.h index 67a746b0f..cb646aa59 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -289,8 +289,7 @@ public: /** Retrieve the maximum number of list modes settable on this channel * Defaults to Config->ListSize */ - virtual unsigned GetMaxListFor(Channel *c); - virtual unsigned GetMaxListFor(Channel *c, ChannelMode *cm); + virtual size_t GetMaxListFor(Channel *c, ChannelMode *cm); virtual Anope::string NormalizeMask(const Anope::string &mask); -- cgit