diff options
author | Mickaël Rémond <mickael.remond@process-one.net> | 2007-07-17 08:21:28 +0000 |
---|---|---|
committer | Mickaël Rémond <mickael.remond@process-one.net> | 2007-07-17 08:21:28 +0000 |
commit | dcf883005d847883a9e24e0c9040364ca92ca9ee (patch) | |
tree | be1aeac20fa5364c395736315ffc66ff52d7f378 /src/mod_configure.erl | |
parent | * src/mod_muc/mod_muc_log.erl: Recognise more URI schemes in logged HTML (EJA... (diff) |
* src/mod_configure.erl: Bugfix: Show only virtual host users on admin disco for all users (EJAB-268) (Thanks to Badlop).
SVN Revision: 816
Diffstat (limited to '')
-rw-r--r-- | src/mod_configure.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_configure.erl b/src/mod_configure.erl index 541b5031..b0b0c360 100644 --- a/src/mod_configure.erl +++ b/src/mod_configure.erl @@ -408,8 +408,8 @@ get_local_items(Host, ["online users"], _Server, _Lang) -> get_local_items(Host, ["all users"], _Server, _Lang) -> {result, get_all_vh_users(Host)}; -get_local_items(_Host, ["all users", [$@ | Diap]], _Server, _Lang) -> - case catch ejabberd_auth:dirty_get_registered_users() of +get_local_items(Host, ["all users", [$@ | Diap]], _Server, _Lang) -> + case catch ejabberd_auth:get_vh_registered_users(Host) of {'EXIT', _Reason} -> ?ERR_INTERNAL_SERVER_ERROR; Users -> |