diff core/sessionmanager.lua @ 709:8bb83563cb21

Automated merge with http://waqas.ath.cx:8000/
author Matthew Wild <mwild1@gmail.com>
date Tue, 13 Jan 2009 15:29:00 +0000
parents b97b05261156
children b1885732e979
line wrap: on
line diff
--- a/core/sessionmanager.lua	Tue Jan 13 20:19:52 2009 +0500
+++ b/core/sessionmanager.lua	Tue Jan 13 15:29:00 2009 +0000
@@ -58,6 +58,7 @@
 	log("info", "open sessions now: ".. open_sessions);
 	local w = conn.write;
 	session.send = function (t) w(tostring(t)); end
+	session.ip = conn.ip();
 	return session;
 end