summaryrefslogtreecommitdiff
path: root/include/account.h
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-15 15:23:03 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-15 15:23:03 +0000
commitd121c4bd37bdcc1a4d863d6452a33176d1f4bcc6 (patch)
tree6c60dea832f71a5d949b0b0ebde311415734aecc /include/account.h
parent02452a03756197fbdb976bd8bc41ffd69eeb61fe (diff)
Add CFLAG_ALLOW_UNREGISTERED, commands without this flag will now not run for unregistered users.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2065 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/account.h')
-rw-r--r--include/account.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/account.h b/include/account.h
index f88a5b644..40b7146c2 100644
--- a/include/account.h
+++ b/include/account.h
@@ -81,12 +81,12 @@ class NickCore : public Extensible
* @param cmdstr The string to check, e.g. botserv/set/private.
* @return True if this opertype may run the specified command, false otherwise.
*/
- bool HasCommand(const std::string &cmdstr);
+ bool HasCommand(const std::string &cmdstr) 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.
*/
- bool HasPriv(const std::string &privstr);
+ bool HasPriv(const std::string &privstr) const;
};