Add some extra exceptions to being idle parked.

This commit is contained in:
Condorra 2024-03-11 20:59:56 +11:00
parent e144771018
commit f7282b07d3

View File

@ -2031,6 +2031,9 @@ impl DBTrans {
.pg_trans()? .pg_trans()?
.query( .query(
"SELECT details FROM users WHERE idle_park_time < NOW() \ "SELECT details FROM users WHERE idle_park_time < NOW() \
AND details->>'location' NOT LIKE 'room/holding%' \
AND details->>'location' NOT IN ('room/repro_xv_chargen', \
'room/repro_xv_respawn') \
LIMIT 100", LIMIT 100",
&[], &[],
) )