xmppclient_listener: Switch to .onincoming listener method, to be compatible with new server_event.lua
authorMatthew Wild <mwild1@gmail.com>
Sat, 21 Nov 2009 17:14:59 +0000
changeset 2106 0737b167a997
parent 2105 fecf33cb2913
child 2107 90751c0ca690
xmppclient_listener: Switch to .onincoming listener method, to be compatible with new server_event.lua
net/xmppclient_listener.lua
--- a/net/xmppclient_listener.lua	Sat Nov 21 17:13:21 2009 +0000
+++ b/net/xmppclient_listener.lua	Sat Nov 21 17:14:59 2009 +0000
@@ -108,7 +108,7 @@
 
 -- 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);