mirror of
https://github.com/evennia/evennia.git
synced 2026-03-19 22:36:31 +01:00
* dbref now respect candidate lists. Previously a dbref match would ignore candidates which permitted you to drop any object from anywhere by specifying a dbref. * If candidates is [], we now return right away. Without this, a candidate list of [] would not filter out anything because short circuiting like: cand_restriction = candidates and Q(pk__in=candidates_id) or Q() will use Q() (what we really want is nothing to match). This would permit you to drop any object you can refer by nick or name if your inventory was empty. * Minor fix of 'ret_index' for typo'ed 'reg_index'. |
||
|---|---|---|
| .. | ||
| migrations | ||
| __init__.py | ||
| admin.py | ||
| manager.py | ||
| models.py | ||
| objects.py | ||
| tests.py | ||