Stripped the argument to the gendersub contrib. Resolves #749.

This commit is contained in:
Griatch 2015-05-25 20:49:08 +02:00
parent 16de3b0c1e
commit 1d52dea746

View file

@ -66,7 +66,7 @@ class SetGender(Command):
Implements the command.
"""
caller = self.caller
arg = self.args.lower()
arg = self.args.strip().lower()
if not arg in ("male", "female", "neutral"):
caller.msg("Usage: @gender male|female|neutral")
return