diff net/xmppclient_listener.lua @ 451:e9f269e5204e

No more reading 1 byte at a time from sockets
author Matthew Wild <mwild1@gmail.com>
date Fri, 28 Nov 2008 00:08:23 +0000
parents 8d15b073fdbe
children cccd610a0ef9
line wrap: on
line diff
--- a/net/xmppclient_listener.lua	Thu Nov 27 23:36:49 2008 +0000
+++ b/net/xmppclient_listener.lua	Fri Nov 28 00:08:23 2008 +0000
@@ -19,7 +19,7 @@
 local stream_callbacks = { streamopened = sm_streamopened, streamclosed = sm_streamclosed };
 
 local sessions = {};
-local xmppclient = { default_port = 5222 };
+local xmppclient = { default_port = 5222, default_mode = "*a" };
 
 -- These are session methods --