From 2a4d0e3e898f1ee2395b5e83198d68a5e646a640 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 10 Dec 2010 15:34:52 -0500 Subject: Allow getting users opertype from XMLRPC requests --- src/opertype.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') 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 &OperType::GetCommands() const +{ + return this->commands; +} + +const std::list &OperType::GetPrivs() const +{ + return this->privs; +} + -- cgit