aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2025-02-13 17:05:36 +0000
committerMatthew Wild <mwild1@gmail.com>2025-02-13 17:05:36 +0000
commitdf63482b9602120ebd7550d0252c6ab358a44964 (patch)
tree5be56e30f05276828b952d28031a6e6129ad044f /plugins
parent56dc05885e3dabe7c809f78c13bda476059fff35 (diff)
downloadprosody-df63482b9602120ebd7550d0252c6ab358a44964.tar.gz
prosody-df63482b9602120ebd7550d0252c6ab358a44964.zip
mod_admin_shell: Remove duplicated line
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_shell.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index f773cd69..3301ed9b 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -1822,8 +1822,6 @@ function def_env.user:role(jid, host)
local primary_role_desc = primary_role and primary_role.name or "<none>";
- local secondary_roles = um.get_user_secondary_roles(username, host);
-
print(primary_role and primary_role.name or "<none>");
local n_secondary = 0;