Software /
code /
prosody
Comparison
plugins/mod_admin_adhoc.lua @ 9402:b530b5daae91
mod_admin_adhoc: Ignore the very long lines at the end [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 30 Sep 2018 13:51:25 +0200 |
parent | 9401:6329c07452b7 |
child | 10398:fa50789d6ec7 |
comparison
equal
deleted
inserted
replaced
9401:6329c07452b7 | 9402:b530b5daae91 |
---|---|
806 else | 806 else |
807 return { status = "canceled", error = err } | 807 return { status = "canceled", error = err } |
808 end | 808 end |
809 end); | 809 end); |
810 | 810 |
811 -- luacheck: max_line_length 180 | |
811 | 812 |
812 local add_user_desc = adhoc_new("Add User", "http://jabber.org/protocol/admin#add-user", add_user_command_handler, "admin"); | 813 local add_user_desc = adhoc_new("Add User", "http://jabber.org/protocol/admin#add-user", add_user_command_handler, "admin"); |
813 local change_user_password_desc = adhoc_new("Change User Password", "http://jabber.org/protocol/admin#change-user-password", change_user_password_command_handler, "admin"); | 814 local change_user_password_desc = adhoc_new("Change User Password", "http://jabber.org/protocol/admin#change-user-password", change_user_password_command_handler, "admin"); |
814 local config_reload_desc = adhoc_new("Reload configuration", "http://prosody.im/protocol/config#reload", config_reload_handler, "global_admin"); | 815 local config_reload_desc = adhoc_new("Reload configuration", "http://prosody.im/protocol/config#reload", config_reload_handler, "global_admin"); |
815 local delete_user_desc = adhoc_new("Delete User", "http://jabber.org/protocol/admin#delete-user", delete_user_command_handler, "admin"); | 816 local delete_user_desc = adhoc_new("Delete User", "http://jabber.org/protocol/admin#delete-user", delete_user_command_handler, "admin"); |