mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
* src/mod_muc/mod_muc_room.erl: Fixed logging configuring
permission check SVN Revision: 595
This commit is contained in:
parent
66561c3602
commit
d3b1bbda47
@ -1,3 +1,8 @@
|
||||
2006-08-27 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/mod_muc/mod_muc_room.erl: Fixed logging configuring
|
||||
permission check
|
||||
|
||||
2006-08-14 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/ejabberd_router.erl: Now filter_packet hook works in
|
||||
|
@ -2068,7 +2068,8 @@ process_iq_owner(From, get, Lang, SubEl, StateData) ->
|
||||
end.
|
||||
|
||||
check_allowed_log_change(XEl, StateData, From) ->
|
||||
case lists:keymember("logging", 1, jlib:parse_xdata_submit(XEl)) of
|
||||
case lists:keymember("muc#roomconfig_enablelogging", 1,
|
||||
jlib:parse_xdata_submit(XEl)) of
|
||||
false ->
|
||||
allow;
|
||||
true ->
|
||||
|
Loading…
Reference in New Issue
Block a user