aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-08-16 21:34:53 +0100
committerMatthew Wild <mwild1@gmail.com>2009-08-16 21:34:53 +0100
commit4f3a0bf66da459d256a4cb9760157a3848df5b2d (patch)
treee11aee309a10ec09758801e1347e3122d78530ac /net
parent798c75481ecc618a53940e23a4c8c285e64088fc (diff)
downloadprosody-4f3a0bf66da459d256a4cb9760157a3848df5b2d.tar.gz
prosody-4f3a0bf66da459d256a4cb9760157a3848df5b2d.zip
core.sessionmanager, xmppclient_listener: Move responsibility for setting session.log to the former from the latter, much more sensible
Diffstat (limited to 'net')
-rw-r--r--net/xmppclient_listener.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua
index dcc561f3..0ef49e8c 100644
--- a/net/xmppclient_listener.lua
+++ b/net/xmppclient_listener.lua
@@ -116,9 +116,6 @@ function xmppclient.listener(conn, data)
-- Logging functions --
- local conn_name = "c2s"..tostring(conn):match("[a-f0-9]+$");
- session.log = logger.init(conn_name);
-
session.log("info", "Client connected");
-- Client is using legacy SSL (otherwise mod_tls sets this flag)