X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fconfigreader.h;h=fe1e5da9eb066edec6fc68c2487cff82d60ae864;hb=6c5ac89f35d49833d7075c1449b2d82ddf7926dc;hp=88279004fbb3a2c46e3c450d0f060a61429f2a28;hpb=b74da78a617c4eeef6c14364ca5a0fef5460d504;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/configreader.h b/include/configreader.h index 88279004f..fe1e5da9e 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -162,8 +162,9 @@ struct CommandLineConf class CoreExport OperInfo : public refcountbase { public: - std::set AllowedOperCommands; - std::set AllowedPrivs; + typedef insp::flat_set PrivSet; + PrivSet AllowedOperCommands; + PrivSet AllowedPrivs; /** Allowed user modes from oper classes. */ std::bitset<64> AllowedUserModes; @@ -230,7 +231,7 @@ class CoreExport ServerConfig /** Index of valid oper blocks and types */ - typedef std::map > OperIndex; + typedef insp::flat_map > OperIndex; /** Get a configuration tag * @param tag The name of the tag to get @@ -430,11 +431,6 @@ class CoreExport ServerConfig */ bool CycleHostsFromUser; - /** If set to true, prefixed channel NOTICEs and PRIVMSGs will have the prefix - * added to the outgoing text for undernet style msg prefixing. - */ - bool UndernetMsgPrefix; - /** If set to true, the full nick!user\@host will be shown in the TOPIC command * for who set the topic last. If false, only the nick is shown. */ @@ -494,10 +490,6 @@ class CoreExport ServerConfig */ static std::string Escape(const std::string& str, bool xml = true); - /** If this value is true, invites will bypass more than just +i - */ - bool InvBypassModes; - /** If this value is true, snotices will not stack when repeats are sent */ bool NoSnoticeStack;