Changeset

4300:cfa69c19b428

Merge with Florob
author Matthew Wild <mwild1@gmail.com>
date Fri, 03 Jun 2011 05:36:44 +0100
parents 4299:e2674029b8c9 (current diff) 4296:b991ffa0f2c5 (diff)
children 4301:1484ac561b28
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_admin_adhoc.lua	Fri Jun 03 05:35:22 2011 +0100
+++ b/plugins/mod_admin_adhoc.lua	Fri Jun 03 05:36:44 2011 +0100
@@ -600,7 +600,7 @@
 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);