diff options
author | Adam <Adam@anope.org> | 2010-12-10 15:34:52 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:37:04 -0500 |
commit | 2a4d0e3e898f1ee2395b5e83198d68a5e646a640 (patch) | |
tree | 3c2b4cc157c04e97e5db2b136bac4b81e55d3978 /src | |
parent | 9f7a2e4da2c9917ae7a0fb2729609ef03093a312 (diff) |
Allow getting users opertype from XMLRPC requests
Diffstat (limited to 'src')
-rw-r--r-- | src/opertype.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/opertype.cpp b/src/opertype.cpp index a4ea94dd3..dd4ec7307 100644 --- a/src/opertype.cpp +++ b/src/opertype.cpp @@ -66,3 +66,14 @@ void OperType::Inherits(OperType *ot) { this->inheritances.insert(ot); } + +const std::list<Anope::string> &OperType::GetCommands() const +{ + return this->commands; +} + +const std::list<Anope::string> &OperType::GetPrivs() const +{ + return this->privs; +} + |