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. --- src/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 827d818c3..38c8ed7f3 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -179,12 +179,12 @@ bool LocalUser::HasModePermission(const ModeHandler* mh) const * allowing remote kills, etc - but if they have access to the src, they most likely have * access to the conf - so it's an end to a means either way. */ -bool User::HasPermission(const std::string&) +bool User::HasCommandPermission(const std::string&) { return true; } -bool LocalUser::HasPermission(const std::string &command) +bool LocalUser::HasCommandPermission(const std::string& command) { // are they even an oper at all? if (!this->IsOper()) -- cgit v1.3.1-10-gc9f91