mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-08 21:43:07 +02:00
Fix unused variables
This commit is contained in:
parent
8647ca5f0b
commit
645ddcb749
|
@ -211,7 +211,6 @@ get_user_info(User, Server, Resource)
|
|||
end,
|
||||
if is_list(Ss), Ss /= [] ->
|
||||
Session = lists:max(Ss),
|
||||
N = node(element(2, Session#session.sid)),
|
||||
Conn = proplists:get_value(conn, Session#session.info),
|
||||
IP = proplists:get_value(ip, Session#session.info),
|
||||
Priority = Session#session.priority, %% integer()
|
||||
|
|
|
@ -464,8 +464,6 @@ record_to_item(LServer, {Username, FN, Family, Given, Middle,
|
|||
|
||||
search(LServer, Data) ->
|
||||
MatchSpec = make_matchspec(LServer, Data),
|
||||
AllowReturnAll = gen_mod:get_module_opt(LServer, ?MODULE,
|
||||
allow_return_all, false),
|
||||
Limit = case gen_mod:get_module_opt(LServer, ?MODULE,
|
||||
matches, ?JUD_MATCHES) of
|
||||
infinity ->
|
||||
|
|
Loading…
Reference in New Issue
Block a user