mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix typo in last commit
This commit is contained in:
parent
0fe64674ee
commit
02cc212f16
@ -871,7 +871,7 @@ decide_rooms(Method, Rooms, Last_allowed) ->
|
|||||||
Decide = fun(R) -> decide_room(Method, R, Last_allowed) end,
|
Decide = fun(R) -> decide_room(Method, R, Last_allowed) end,
|
||||||
lists:filter(Decide, Rooms).
|
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) -
|
NodeStartTime = erlang:system_time(microsecond) -
|
||||||
1000000*(erlang:monotonic_time(second)-ejabberd_config:get_node_start()),
|
1000000*(erlang:monotonic_time(second)-ejabberd_config:get_node_start()),
|
||||||
OnlyHibernated = case mod_muc_opt:hibernation_timeout(ServerHost) of
|
OnlyHibernated = case mod_muc_opt:hibernation_timeout(ServerHost) of
|
||||||
|
Loading…
Reference in New Issue
Block a user