mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Fix default value of default_room_options (thanks to Aleksey Shchepin)
SVN Revision: 1702
This commit is contained in:
parent
9e679aa621
commit
8e32cc11cb
@ -2655,7 +2655,7 @@ check_allowed_persistent_change(XEl, StateData, From) ->
|
|||||||
?XFIELD("text-private", Label, Var, Val)).
|
?XFIELD("text-private", Label, Var, Val)).
|
||||||
|
|
||||||
get_default_room_maxusers(RoomState) ->
|
get_default_room_maxusers(RoomState) ->
|
||||||
DefRoomOpts = gen_mod:get_module_opt(RoomState#state.server_host, mod_muc, default_room_options, ?MAX_USERS_DEFAULT),
|
DefRoomOpts = gen_mod:get_module_opt(RoomState#state.server_host, mod_muc, default_room_options, []),
|
||||||
RoomState2 = set_opts(DefRoomOpts, RoomState),
|
RoomState2 = set_opts(DefRoomOpts, RoomState),
|
||||||
(RoomState2#state.config)#config.max_users.
|
(RoomState2#state.config)#config.max_users.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user