25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-19 15:32:08 +02:00

Fix unused variable warning

This commit is contained in:
Paweł Chmielowski 2024-07-03 15:55:48 +02:00
parent b44b1304b8
commit b978a47925

View File

@ -1685,8 +1685,7 @@ make_command2(Name, Request, BaseArguments, Options) ->
TO = proplists:get_value(table_options, Options, {999999, []}),
Style = proplists:get_value(style, Options, normal),
#request{us = {RUser, RServer},
ip = RIp,
host = RHost} =
ip = RIp} =
Request,
CallerInfo =
#{usr => {RUser, RServer, <<"">>},