Merge pull request #46 from weiss/fix-muc-online-rooms-global

Fix "ejabberdctl muc_online_rooms global"
This commit is contained in:
badlop 2014-09-03 13:30:05 +02:00
commit a1eb77b91a
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) ->