summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-03 18:50:11 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-08 23:13:24 +0200
commit0ce252f05ced1a0dddfc9c353d68007a3faba239 (patch)
tree53ab017b20bbe9b0349dad3dae61cbdf44402a79 /include/mode.h
parent1bf6cf727da706d821bc4cf84055e27be5ed7f7c (diff)
Add builtin modes using AddService()
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h8
1 files changed, 5 insertions, 3 deletions
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.
*