From cbb6b376c781024534d4ece31a4b5296894d7390 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 4 Apr 2019 15:09:23 +0100 Subject: Use a consistent naming scheme for operator privileges. - users/callerid-override is now users/ignore-callerid. - users/privdeaf-override is now users/ignore-privdeaf. --- src/modules/m_callerid.cpp | 2 +- src/modules/m_deaf.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 49143034f..edf9d6c8e 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -406,7 +406,7 @@ public: if (!dest->IsModeSet(myumode) || (user == dest)) return MOD_RES_PASSTHRU; - if (user->HasPrivPermission("users/callerid-override")) + if (user->HasPrivPermission("users/ignore-callerid")) return MOD_RES_PASSTHRU; callerid_data* dat = cmd.extInfo.get(dest, true); diff --git a/src/modules/m_deaf.cpp b/src/modules/m_deaf.cpp index 2f7221313..a955275ee 100644 --- a/src/modules/m_deaf.cpp +++ b/src/modules/m_deaf.cpp @@ -131,7 +131,7 @@ class ModuleDeaf : public Module if (!privdeafuline && user->server->IsULine()) return MOD_RES_DENY; - if (!user->HasPrivPermission("users/privdeaf-override")) + if (!user->HasPrivPermission("users/ignore-privdeaf")) return MOD_RES_DENY; } -- cgit v1.2.3