summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-12-15 17:09:48 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-12-15 17:09:48 +0100
commitbc6090c224e2feaeaad63064100a592e5dfa4546 (patch)
tree0c570081d85b7673fbb4ec9462c4e03b77b073f8 /include
parentb7994533da0e77fae440c60f2bc8d7996434a88c (diff)
Add typedef PrivSet for OperInfo::AllowedOperCommands and AllowedPrivs
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 342743991..35fa178a9 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -165,8 +165,9 @@ struct CommandLineConf
class CoreExport OperInfo : public refcountbase
{
public:
- std::set<std::string> AllowedOperCommands;
- std::set<std::string> AllowedPrivs;
+ typedef std::set<std::string> PrivSet;
+ PrivSet AllowedOperCommands;
+ PrivSet AllowedPrivs;
/** Allowed user modes from oper classes. */
std::bitset<64> AllowedUserModes;