25
1
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:
Alexey Shchepin 2006-08-27 17:46:27 +00:00
parent 66561c3602
commit d3b1bbda47
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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 ->