summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-04-19 09:30:45 +0100
committerPeter Powell <petpow@saberuk.com>2019-04-19 10:05:06 +0100
commit2cd6efcc64458c7b5c33529eb58fe00b7bc5e4ef (patch)
tree2eb63c905f6b66f1318db342f4952e0244ea9a0d /include
parent21f0718c4ae18f565895b5cc05c4af3942d0f8e5 (diff)
Rename HasPermission to HasCommandPermission.
Diffstat (limited to 'include')
-rw-r--r--include/users.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h
index d130aec1d..dc7da40fe 100644
--- a/include/users.h
+++ b/include/users.h
@@ -456,7 +456,7 @@ class CoreExport User : public Extensible
* @param command A command (should be all CAPS)
* @return True if this user can execute the command
*/
- virtual bool HasPermission(const std::string &command);
+ virtual bool HasCommandPermission(const std::string& command);
/** Returns true if a user has a given permission.
* This is used to check whether or not users may perform certain actions which admins may not wish to give to
@@ -832,7 +832,7 @@ class CoreExport LocalUser : public User, public insp::intrusive_list_node<Local
* @param command A command (should be all CAPS)
* @return True if this user can execute the command
*/
- bool HasPermission(const std::string &command) CXX11_OVERRIDE;
+ bool HasCommandPermission(const std::string& command) CXX11_OVERRIDE;
/** Returns true if a user has a given permission.
* This is used to check whether or not users may perform certain actions which admins may not wish to give to