From cf975da8f29aab78befe0a1f7bd5d6e6c7dd42e3 Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Mon, 28 Sep 2015 15:25:43 +0300 Subject: Update several commands for recent ejabberd_commands changes --- src/mod_muc_admin.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mod_muc_admin.erl') diff --git a/src/mod_muc_admin.erl b/src/mod_muc_admin.erl index b779f4e0b..923428b3f 100644 --- a/src/mod_muc_admin.erl +++ b/src/mod_muc_admin.erl @@ -59,6 +59,7 @@ commands() -> [ #ejabberd_commands{name = muc_online_rooms, tags = [muc], desc = "List existing rooms ('global' to get all vhosts)", + policy = admin, module = ?MODULE, function = muc_online_rooms, args = [{host, binary}], result = {rooms, {list, {room, string}}}}, -- cgit v1.2.3