aboutsummaryrefslogtreecommitdiff
path: root/src/mod_muc_admin.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_muc_admin.erl')
-rw-r--r--src/mod_muc_admin.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc_admin.erl b/src/mod_muc_admin.erl
index f75e24b7d..b3840bc48 100644
--- a/src/mod_muc_admin.erl
+++ b/src/mod_muc_admin.erl
@@ -819,7 +819,7 @@ decide_room(unused, {_Room_name, _Host, Room_pid}, ServerHost, Last_allowed) ->
true when (HistorySize == 0) or (JustCreated == true) ->
{false, 0};
true ->
- Ts_diff = (misc:now_to_usec(now())
+ Ts_diff = (p1_time_compat:os_system_time(micro_seconds)
- S#state.just_created) div 1000000,
{false, Ts_diff};
false ->