X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fconfigreader.h;h=57d7ab069741a1f68869183005b705a1a1ffabba;hb=f3ef8a230cf3a0e3c3f75f7e37d2a1945e531754;hp=88279004fbb3a2c46e3c450d0f060a61429f2a28;hpb=6d25ad273c7fd1d21b9c392678f3472eb53c6e83;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/configreader.h b/include/configreader.h index 88279004f..57d7ab069 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