aboutsummaryrefslogtreecommitdiff
path: root/src/mod_muc_admin.erl
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2015-09-28 15:25:43 +0300
committerAlexey Shchepin <alexey@process-one.net>2015-09-28 15:29:25 +0300
commitcf975da8f29aab78befe0a1f7bd5d6e6c7dd42e3 (patch)
tree0f1c185995ba69d1b8ec0f369c63db72fd59cabe /src/mod_muc_admin.erl
parentoauth uses jiffy so fetch it unconditionally (diff)
Update several commands for recent ejabberd_commands changes
Diffstat (limited to 'src/mod_muc_admin.erl')
-rw-r--r--src/mod_muc_admin.erl1
1 files changed, 1 insertions, 0 deletions
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}}}},