summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h7
1 files changed, 4 insertions, 3 deletions
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<std::string> AllowedOperCommands;
- std::set<std::string> AllowedPrivs;
+ typedef insp::flat_set<std::string> 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<std::string, reference<OperInfo> > OperIndex;
+ typedef insp::flat_map<std::string, reference<OperInfo> > OperIndex;
/** Get a configuration tag
* @param tag The name of the tag to get