diff options
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r-- | core/sessionmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 963de7ce..f04ca29c 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -58,6 +58,7 @@ function new_session(conn) 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 |