summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-22 17:11:46 +0000
committerSadie Powell <sadie@witchery.services>2024-02-22 17:25:47 +0000
commit3290ebd36ada5c3f698a124163191187b494c912 (patch)
tree27aefe86f07abe310068bf472e8754289d63fb6d /include/protocol.h
parentc4e9c0bf8548da1bf4fe2cfe5e7f5ab101b35e52 (diff)
GetMaxListFor: use size_t and add a default like the other fields.
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h3
1 files changed, 1 insertions, 2 deletions
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);