summaryrefslogtreecommitdiff
path: root/include/account.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/account.h')
-rw-r--r--include/account.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/account.h b/include/account.h
index 43e82fb8e..f8fd71b3c 100644
--- a/include/account.h
+++ b/include/account.h
@@ -71,6 +71,11 @@ class CoreExport NickCore : public Extensible
*/
bool HasCommand(const std::string &cmdstr) const;
+ /** Checks whether this account is a services oper or not.
+ * @return True if this account is a services oper, false otherwise.
+ */
+ bool IsServicesOper() const;
+
/** Check whether this opertype has access to the given special permission.
* @param privstr The priv to check for, e.g. users/auspex.
* @return True if this opertype has the specified priv, false otherwise.