summaryrefslogtreecommitdiff
path: root/include/opertype.h
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 /include/opertype.h
parent9f7a2e4da2c9917ae7a0fb2729609ef03093a312 (diff)
Allow getting users opertype from XMLRPC requests
Diffstat (limited to 'include/opertype.h')
-rw-r--r--include/opertype.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/opertype.h b/include/opertype.h
index 40607b39f..b08e7643d 100644
--- a/include/opertype.h
+++ b/include/opertype.h
@@ -71,6 +71,16 @@ class CoreExport OperType
* @param ot The opertype to inherit from
*/
void Inherits(OperType *ot);
+
+ /** Gets the icommands for this opertype
+ * @return A list of commands
+ */
+ const std::list<Anope::string> &GetCommands() const;
+
+ /** Gets the privileges for this opertype
+ * @return A list of privileges
+ */
+ const std::list<Anope::string> &GetPrivs() const;
};
#endif // OPERTYPE_H