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

Add support for per-mode list limits.

This commit is contained in:
Sadie Powell
2021-06-04 02:12:09 +01:00
parent 3728a0bda1
commit e67c2d5632
4 changed files with 14 additions and 4 deletions
+2
View File
@@ -15,6 +15,7 @@
#include "services.h"
#include "anope.h"
#include "service.h"
#include "modes.h"
/* Encapsultes the IRCd protocol we are speaking. */
class CoreExport IRCDProto : public Service
@@ -241,6 +242,7 @@ class CoreExport IRCDProto : public Service
* Defaults to Config->ListSize
*/
virtual unsigned GetMaxListFor(Channel *c);
virtual unsigned GetMaxListFor(Channel *c, ChannelMode *cm);
virtual Anope::string NormalizeMask(const Anope::string &mask);
};