From c943b13351f6d855a2e9f56a96c319b1a8ff338e Mon Sep 17 00:00:00 2001 From: Griatch Date: Mon, 15 Apr 2013 01:01:21 +0200 Subject: [PATCH] Fixed error in who when playing as a character. --- src/commands/default/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/default/player.py b/src/commands/default/player.py index 36966ffb28..e9fe6acd95 100644 --- a/src/commands/default/player.py +++ b/src/commands/default/player.py @@ -368,7 +368,7 @@ class CmdWho(MuxPlayerCommand): table.add_row([utils.crop(plr_pobject.name, width=25), utils.time_format(delta_conn, 0), utils.time_format(delta_cmd, 1), - hasattr(plr_pobject, "location") and plr_pobject.location or "None", + hasattr(plr_pobject, "location") and plr_pobject.location.key or "None", session.cmd_total, session.protocol_key, isinstance(session.address, tuple) and session.address[0] or session.address])