mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-02 21:17:12 +02:00
Swap variables in their correct places
This commit is contained in:
parent
1097d31d63
commit
8275e95a16
|
@ -213,7 +213,7 @@ set_room_option(_Acc, <<"muc#roomconfig_mam">> = Opt, Vals, Lang) ->
|
||||||
catch _:{case_clause, _} ->
|
catch _:{case_clause, _} ->
|
||||||
Txt = <<"Value of '~s' should be boolean">>,
|
Txt = <<"Value of '~s' should be boolean">>,
|
||||||
ErrTxt = iolist_to_binary(io_lib:format(Txt, [Opt])),
|
ErrTxt = iolist_to_binary(io_lib:format(Txt, [Opt])),
|
||||||
{error, xmpp:err_bad_request(Lang, ErrTxt)}
|
{error, xmpp:err_bad_request(ErrTxt, Lang)}
|
||||||
end;
|
end;
|
||||||
set_room_option(Acc, _Opt, _Vals, _Lang) ->
|
set_room_option(Acc, _Opt, _Vals, _Lang) ->
|
||||||
Acc.
|
Acc.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user