mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 20:47:17 +02:00
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:
|
||||
caller.msg("You are already wearing a mask.")
|
||||
return
|
||||
sdesc = self.args.strip()
|
||||
sdesc = _RE_CHAREND.sub("", self.args)
|
||||
if len(sdesc) > 60:
|
||||
caller.msg("Your masked sdesc is too long.")
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue