diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-06-03 05:36:44 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-06-03 05:36:44 +0100 |
commit | 14c336d4073414dbc7752c9a4db685fe9b698587 (patch) | |
tree | cd1d21e2057eb969bb087683b5c607928bd4d1e0 /plugins/mod_admin_adhoc.lua | |
parent | e089f2d554d072b6c7393639c0f8daa8a6424d5e (diff) | |
parent | 64a9c3a5eb4af326abdaa5693bd82f626983e91a (diff) | |
download | prosody-14c336d4073414dbc7752c9a4db685fe9b698587.tar.gz prosody-14c336d4073414dbc7752c9a4db685fe9b698587.zip |
Merge with Florob
Diffstat (limited to 'plugins/mod_admin_adhoc.lua')
-rw-r--r-- | plugins/mod_admin_adhoc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua index 8c82293f..d78c1aee 100644 --- a/plugins/mod_admin_adhoc.lua +++ b/plugins/mod_admin_adhoc.lua @@ -600,7 +600,7 @@ local get_online_users_desc = adhoc_new("Get List of Online Users", "http://jabb local list_modules_desc = adhoc_new("List loaded modules", "http://prosody.im/protocol/modules#list", list_modules_handler, "admin"); local load_module_desc = adhoc_new("Load module", "http://prosody.im/protocol/modules#load", load_module_handler, "admin"); local reload_modules_desc = adhoc_new("Reload modules", "http://prosody.im/protocol/modules#reload", reload_modules_handler, "admin"); -local shut_down_service_desc = adhoc_new("Shut Down Service", "http://jabber.org/protocol/admin#shutdown", shut_down_service_handler, "admin"); +local shut_down_service_desc = adhoc_new("Shut Down Service", "http://jabber.org/protocol/admin#shutdown", shut_down_service_handler, "global_admin"); local unload_modules_desc = adhoc_new("Unload modules", "http://prosody.im/protocol/modules#unload", unload_modules_handler, "admin"); module:add_item("adhoc", add_user_desc); |