From 2cd6efcc64458c7b5c33529eb58fe00b7bc5e4ef Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 19 Apr 2019 09:30:45 +0100 Subject: Rename HasPermission to HasCommandPermission. --- include/users.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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