From 26f332a8bcc625ec805161f354de88e7e039d56c Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 19 Aug 2014 14:40:10 +0200 Subject: [PATCH] Fix "ejabberdctl muc_online_rooms global" --- mod_muc_admin/src/mod_muc_admin.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod_muc_admin/src/mod_muc_admin.erl b/mod_muc_admin/src/mod_muc_admin.erl index 653f46a..dbe2d9c 100644 --- a/mod_muc_admin/src/mod_muc_admin.erl +++ b/mod_muc_admin/src/mod_muc_admin.erl @@ -877,6 +877,8 @@ find_host(global) -> global; find_host("global") -> global; +find_host(<<"global">>) -> + global; find_host(ServerHost) when is_list(ServerHost) -> find_host(list_to_binary(ServerHost)); find_host(ServerHost) ->