diff options
Diffstat (limited to 'include/opertype.h')
-rw-r--r-- | include/opertype.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/opertype.h b/include/opertype.h index da8460e44..2d36dfad6 100644 --- a/include/opertype.h +++ b/include/opertype.h @@ -33,9 +33,6 @@ class Oper : public Serialize::Object public: static constexpr const char *const NAME = "oper"; - Configuration::Conf *conf = nullptr; - Module *owner = nullptr; - using Serialize::Object::Object; Anope::string GetName(); @@ -59,6 +56,9 @@ class Oper : public Serialize::Object bool GetRequireOper(); void SetRequireOper(const bool &); + bool HasCommand(const Anope::string &cmdstr); + bool HasPriv(const Anope::string &cmdstr); + /** Find an oper block by name * @param name The name * @return the oper block |