summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-04-04 15:09:23 +0100
committerPeter Powell <petpow@saberuk.com>2019-04-04 15:11:24 +0100
commitcbb6b376c781024534d4ece31a4b5296894d7390 (patch)
tree6ffad59f6349003d86dcb9356f54b49f39fef7ae /src/modules
parentb00451a85cfc5d26bbfbd7bb903071f3bba91c9c (diff)
Use a consistent naming scheme for operator privileges.
- users/callerid-override is now users/ignore-callerid. - users/privdeaf-override is now users/ignore-privdeaf.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_callerid.cpp2
-rw-r--r--src/modules/m_deaf.cpp2
2 files changed, 2 insertions, 2 deletions
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;
}