Fix wrong parameter in profile server call to delete_session.

This commit is contained in:
Admiral H. Curtiss
2014-05-31 20:10:43 +02:00
parent 2102613829
commit 441c17ed94

View File

@@ -126,7 +126,7 @@ class PlayerSession(LineReceiver):
if self.profileid in self.sessions:
del self.sessions[self.profileid]
self.db.delete_session(self.session)
self.db.delete_session(self.sesskey)
self.log(logging.INFO, "Deleted session " + self.session)
except:
self.log(logging.ERROR, "Unknown exception: %s" % traceback.format_exc())