aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/moduleapi.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua
index 0ec96fb6..c1d8851e 100644
--- a/core/moduleapi.lua
+++ b/core/moduleapi.lua
@@ -617,7 +617,6 @@ end
function api:default_permissions(role_name, permissions)
for _, permission in ipairs(permissions) do
- permission = permission:gsub("^:", self.name..":");
self:default_permission(role_name, permission);
end
end