From ee44af8d04f23b4a16c9b377764f930d69e575f7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 27 Nov 2022 07:32:42 +0000 Subject: Refactor the internals of the oper system. - Allow overriding privileges from the blocks in the and blocks. - Separate oper types from oper accounts in the code. This enables moving some core stuff out of the config tag later. - Merge the config tags together to make a synthetic tag that can have getXXX called on it instead of using getConfig and then converting it. - Move the details of Have*Permission into the oper type class. - Improve oper events to allow modules to easily hook into the oper system. --- include/inspircd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/inspircd.h') diff --git a/include/inspircd.h b/include/inspircd.h index 0ca6bf8c4..de67e1b63 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -82,6 +82,7 @@ CoreExport extern InspIRCd* ServerInstance; #include "numeric.h" #include "uid.h" #include "server.h" +#include "inspstring.h" #include "users.h" #include "channels.h" #include "timer.h" @@ -99,7 +100,6 @@ CoreExport extern InspIRCd* ServerInstance; #include "clientprotocol.h" #include "thread.h" #include "configreader.h" -#include "inspstring.h" #include "protocol.h" #include "bancache.h" #include "logging.h" -- cgit v1.3.1-10-gc9f91