aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-21 17:14:59 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-21 17:14:59 +0000
commit6c6f24c491d6c3df9899d7a9c2734d72bec6e67c (patch)
tree8d5be31033744739e9ffb58026d26d74f6b65d83 /net
parent5c624344662b7330a6f87d3b1e83865c2ac4dd62 (diff)
downloadprosody-6c6f24c491d6c3df9899d7a9c2734d72bec6e67c.tar.gz
prosody-6c6f24c491d6c3df9899d7a9c2734d72bec6e67c.zip
xmppclient_listener: Switch to .onincoming listener method, to be compatible with new server_event.lua
Diffstat (limited to 'net')
-rw-r--r--net/xmppclient_listener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua
index 417dfd4a..fd4e7097 100644
--- a/net/xmppclient_listener.lua
+++ b/net/xmppclient_listener.lua
@@ -108,7 +108,7 @@ end
-- End of session methods --
-function xmppclient.listener(conn, data)
+function xmppclient.onincoming(conn, data)
local session = sessions[conn];
if not session then
session = sm_new_session(conn);