mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-01 17:53:00 +01:00
Protect against bad muc#owner requests
This commit is contained in:
parent
6c0d6f0774
commit
8d6455460d
@ -3245,7 +3245,9 @@ process_iq_owner(From, #iq{type = get, lang = Lang,
|
||||
end;
|
||||
true ->
|
||||
{error, xmpp:err_bad_request()}
|
||||
end.
|
||||
end;
|
||||
process_iq_owner(_, _, _) ->
|
||||
{error, xmpp:err_bad_request()}.
|
||||
|
||||
-spec is_allowed_log_change(muc_roomconfig:result(), state(), jid()) -> boolean().
|
||||
is_allowed_log_change(Options, StateData, From) ->
|
||||
|
Loading…
Reference in New Issue
Block a user