summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-10 15:34:52 -0500
committerAdam <Adam@anope.org>2010-12-12 19:37:04 -0500
commit2a4d0e3e898f1ee2395b5e83198d68a5e646a640 (patch)
tree3c2b4cc157c04e97e5db2b136bac4b81e55d3978 /src
parent9f7a2e4da2c9917ae7a0fb2729609ef03093a312 (diff)
Allow getting users opertype from XMLRPC requests
Diffstat (limited to 'src')
-rw-r--r--src/opertype.cpp11
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;
+}
+