Fix typo in call to msg method.

Reported by thranduil when attempting `@rename *thranduil = Thranduil1 (throws an ex and gives a stack trace.  Character has no attribute 'mgs'")
This commit is contained in:
BlauFeuer 2017-03-16 10:32:02 -04:00 committed by Griatch
parent 03ab95f57f
commit 00b9393b39

View file

@ -1141,7 +1141,7 @@ class CmdName(ObjManipCommand):
caller.msg("No name defined!")
return
if not (obj.access(caller, "control") or obj.access(caller, "edit")):
caller.mgs("You don't have right to edit this player %s." % obj)
caller.msg("You don't have right to edit this player %s." % obj)
return
obj.username = newname
obj.save()