From 0ce252f05ced1a0dddfc9c353d68007a3faba239 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Wed, 3 Apr 2013 18:50:11 +0200 Subject: Add builtin modes using AddService() --- include/mode.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/mode.h b/include/mode.h index 1dab442d4..de8d4c5f8 100644 --- a/include/mode.h +++ b/include/mode.h @@ -445,9 +445,6 @@ class CoreExport ModeParser unsigned int seq; public: - - /** The constructor initializes all the RFC basic modes by using ModeParserAddMode(). - */ ModeParser(); ~ModeParser(); @@ -455,6 +452,11 @@ class CoreExport ModeParser * for example, should 'user A' be able to 'op' on 'channel B'. */ User* SanityChecks(User *user,const char *dest,Channel *chan,int status); + + /** Initialize all built-in modes + */ + static void InitBuiltinModes(); + /** Tidy a banmask. This makes a banmask 'acceptable' if fields are left out. * E.g. * -- cgit v1.3.1-10-gc9f91