Adds checks for null search terms and dbref range.

This commit is contained in:
Johnny 2020-01-10 21:32:21 +00:00
parent 5339b80743
commit 54b2572538
2 changed files with 4 additions and 1 deletions

View file

@ -2768,7 +2768,7 @@ class CmdFind(COMMAND_DEFAULT_CLASS):
caller = self.caller
switches = self.switches
if not self.args:
if not self.args or (not self.lhs and not self.rhs):
caller.msg("Usage: find <string> [= low [-high]]")
return