25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Fix ejabberd_auth:get_vh_registered_users/2 (thanks to Andreas Köhler)

This commit is contained in:
Badlop 2010-08-18 13:12:25 +02:00
parent 555a3113a1
commit 3cb128963c

View File

@ -264,11 +264,11 @@ get_vh_registered_users(Server, Opts) when is_list(Server) ->
lists:flatmap(
fun(M) ->
case erlang:function_exported(
M, get_vh_registered_users_number, 2) of
M, get_vh_registered_users, 2) of
true ->
M:get_vh_registered_users_number(Server, Opts);
M:get_vh_registered_users(Server, Opts);
false ->
M:get_vh_registered_users_number(Server)
M:get_vh_registered_users(Server)
end
end, auth_modules(Server)).