diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 2 | ||||
-rw-r--r-- | include/users.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 4e37fae8d..3993142c7 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -45,7 +45,7 @@ #include <deque> #include <map> #include <bitset> - +#include <set> /** A list of failed port bindings, used for informational purposes on startup */ typedef std::vector<std::pair<std::string, std::string> > FailedPortList; diff --git a/include/users.h b/include/users.h index 7492d31e0..2f8730088 100644 --- a/include/users.h +++ b/include/users.h @@ -439,7 +439,8 @@ class CoreExport User : public EventHandler */ void DecrementModes(); - std::map<std::string, bool>* AllowedOperCommands; + std::set<std::string> *AllowedOperCommands; + std::set<std::string> *AllowedPrivs; /** Allowed user modes from oper classes. */ std::bitset<64> AllowedUserModes; |