1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 11:43:14 +02:00

GetMaxListFor: use size_t and add a default like the other fields.

This commit is contained in:
Sadie Powell
2024-02-22 17:11:46 +00:00
parent c4e9c0bf85
commit 3290ebd36a
4 changed files with 6 additions and 12 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ public:
return maxhost ? maxhost : IRCDProto::GetMaxHost();
}
unsigned GetMaxListFor(Channel *c, ChannelMode *cm) override
size_t GetMaxListFor(Channel *c, ChannelMode *cm) override
{
ListLimits *limits = maxlist.Get(c);
if (limits)