aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2019-04-19 09:30:45 +0100
committerGravatar Peter Powell2019-04-19 10:05:06 +0100
commit2cd6efcc64458c7b5c33529eb58fe00b7bc5e4ef (patch)
tree2eb63c905f6b66f1318db342f4952e0244ea9a0d /src/users.cpp
parentRemove the 'noisy' mode for HasPrivPermission. (diff)
Rename HasPermission to HasCommandPermission.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
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())