Add some extra exceptions to being idle parked.
This commit is contained in:
parent
e144771018
commit
f7282b07d3
@ -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",
|
||||||
&[],
|
&[],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user