summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
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;
}