aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mod_muc/mod_muc_room.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl
index a52d20c40..3ae1934ac 100644
--- a/src/mod_muc/mod_muc_room.erl
+++ b/src/mod_muc/mod_muc_room.erl
@@ -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 ->