Merge pull request #46 from weiss/fix-muc-online-rooms-global
Fix "ejabberdctl muc_online_rooms global"
This commit is contained in:
commit
a1eb77b91a
|
@ -877,6 +877,8 @@ find_host(global) ->
|
||||||
global;
|
global;
|
||||||
find_host("global") ->
|
find_host("global") ->
|
||||||
global;
|
global;
|
||||||
|
find_host(<<"global">>) ->
|
||||||
|
global;
|
||||||
find_host(ServerHost) when is_list(ServerHost) ->
|
find_host(ServerHost) when is_list(ServerHost) ->
|
||||||
find_host(list_to_binary(ServerHost));
|
find_host(list_to_binary(ServerHost));
|
||||||
find_host(ServerHost) ->
|
find_host(ServerHost) ->
|
||||||
|
|
Loading…
Reference in New Issue