25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix typo in last commit

This commit is contained in:
Paweł Chmielowski 2020-12-01 15:39:17 +01:00
parent 0fe64674ee
commit 02cc212f16

View File

@ -871,7 +871,7 @@ decide_rooms(Method, Rooms, Last_allowed) ->
Decide = fun(R) -> decide_room(Method, R, Last_allowed) end,
lists:filter(Decide, Rooms).
decide_room(unused, {_Room_name, _Host, _ServerHost, Room_pid}, Last_allowed) ->
decide_room(unused, {_Room_name, _Host, ServerHost, Room_pid}, Last_allowed) ->
NodeStartTime = erlang:system_time(microsecond) -
1000000*(erlang:monotonic_time(second)-ejabberd_config:get_node_start()),
OnlyHibernated = case mod_muc_opt:hibernation_timeout(ServerHost) of