mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix function_clause after authentication refactoring
Fixes https://github.com/processone/ejabberd-contrib/issues/213
This commit is contained in:
parent
3e35d44b0f
commit
b0b7ac101c
@ -205,10 +205,12 @@ del_user_return_password(_LServer, LUser, Password) ->
|
||||
P.
|
||||
|
||||
list_users(LServer) ->
|
||||
list_users(LServer, []).
|
||||
|
||||
list_users(LServer, []) ->
|
||||
ejabberd_sql:sql_query(
|
||||
LServer,
|
||||
?SQL("select @(username)s from users")).
|
||||
|
||||
?SQL("select @(username)s from users"));
|
||||
list_users(LServer, [{from, Start}, {to, End}])
|
||||
when is_integer(Start) and is_integer(End) ->
|
||||
list_users(LServer,
|
||||
|
Loading…
Reference in New Issue
Block a user