summaryrefslogtreecommitdiff
path: root/include/opertype.h
diff options
context:
space:
mode:
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