Added handling of mask command with spurios letters at end.
This commit is contained in:
parent
350ef90a82
commit
993f4cbb9d
1 changed files with 1 additions and 1 deletions
|
|
@ -961,7 +961,7 @@ class CmdMask(RPCommand):
|
||||||
if caller.db.unmasked_sdesc:
|
if caller.db.unmasked_sdesc:
|
||||||
caller.msg("You are already wearing a mask.")
|
caller.msg("You are already wearing a mask.")
|
||||||
return
|
return
|
||||||
sdesc = self.args.strip()
|
sdesc = _RE_CHAREND.sub("", self.args)
|
||||||
if len(sdesc) > 60:
|
if len(sdesc) > 60:
|
||||||
caller.msg("Your masked sdesc is too long.")
|
caller.msg("Your masked sdesc is too long.")
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue