Fixed a bug in sessionhandler that erroneously caused Portal sessions to not be deleted properly at user @quit. This caused the session to be copied back to the Server side after a reload (caused "ghost" connections in e.g. the "who" command). Resolves Issue 244.

This commit is contained in:
Griatch 2012-06-20 23:48:19 +02:00
parent 7dcfdc4d4b
commit f0f240b7ce
2 changed files with 5 additions and 2 deletions

View file

@ -408,7 +408,7 @@ class CmdWho(MuxCommand):
table[0].append(plr_pobject.name[:25])
table[1].append(utils.time_format(delta_conn, 0))
table[2].append(utils.time_format(delta_cmd, 1))
table[3].append(plr_pobject.location.id)
table[3].append(plr_pobject.location and plr_pobject.location.id or "None")
table[4].append(session.cmd_total)
table[5].append(session.address[0])
else: