Fix "ejabberdctl muc_online_rooms global"

This commit is contained in:
Holger Weiss 2014-08-19 14:40:10 +02:00
parent ccf95a6fc8
commit 26f332a8bc
1 changed files with 2 additions and 0 deletions

View File

@ -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) ->