Added high/low dbref limits to @find (Issue 59).

/Griatch
This commit is contained in:
Griatch 2009-10-22 20:59:19 +00:00
parent 3614960471
commit 3be514ffdc
3 changed files with 51 additions and 23 deletions

View file

@ -79,11 +79,11 @@ class SessionProtocol(StatefulTelnetProtocol):
the user input and pass it to this session's pobject.
"""
try:
data = u"%s" % data
test = u"%s" % data
except UnicodeDecodeError:
self.msg("Couldn't parse that. You put some non-standard characters in there.")
self.msg("Couldn't parse that - one or more characters were not recognized.")
return
if self.pobject:
# Session is logged in, run through the normal object execution.
self.pobject.execute_cmd(data, session=self)