From bc6090c224e2feaeaad63064100a592e5dfa4546 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Mon, 15 Dec 2014 17:09:48 +0100 Subject: Add typedef PrivSet for OperInfo::AllowedOperCommands and AllowedPrivs --- include/configreader.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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 AllowedOperCommands; - std::set AllowedPrivs; + typedef std::set PrivSet; + PrivSet AllowedOperCommands; + PrivSet AllowedPrivs; /** Allowed user modes from oper classes. */ std::bitset<64> AllowedUserModes; -- cgit v1.2.3