From 00b9393b3963a72b425589d15dce748d07c78f23 Mon Sep 17 00:00:00 2001 From: BlauFeuer Date: Thu, 16 Mar 2017 10:32:02 -0400 Subject: [PATCH] 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'") --- evennia/commands/default/building.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/commands/default/building.py b/evennia/commands/default/building.py index 49b47e5bf..5a19f8619 100644 --- a/evennia/commands/default/building.py +++ b/evennia/commands/default/building.py @@ -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()