Changeset

2106:0737b167a997

xmppclient_listener: Switch to .onincoming listener method, to be compatible with new server_event.lua
author Matthew Wild <mwild1@gmail.com>
date Sat, 21 Nov 2009 17:14:59 +0000
parents 2105:fecf33cb2913
children 2107:90751c0ca690
files net/xmppclient_listener.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);