mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 14:07:16 +02:00
Correct docstring for $dbref protfunc
This commit is contained in:
parent
c121f4915e
commit
95604616a3
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ def objlist(*args, **kwargs):
|
|||
def dbref(*args, **kwargs):
|
||||
"""
|
||||
Usage $dbref(<#dbref>)
|
||||
Returns one Object searched globally by #dbref. Error if #dbref is invalid.
|
||||
Validate that a #dbref input is valid.
|
||||
"""
|
||||
if not args or len(args) < 1 or _RE_DBREF.match(args[0]) is None:
|
||||
raise ValueError('$dbref requires a valid #dbref argument.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue