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:
parent
03ab95f57f
commit
00b9393b39
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue