net/xmppclient_listener.lua

changeset 282
80e7de32b618
parent 267
6303b7454ad0
child 275
7af22e56d625
--- a/net/xmppclient_listener.lua	Wed Nov 12 21:38:46 2008 +0100
+++ b/net/xmppclient_listener.lua	Sat Nov 15 13:47:17 2008 +0100
@@ -78,7 +78,7 @@
 	if session then
 		if session.last_presence and session.last_presence.attr.type ~= "unavailable" then
 			local pres = st.presence{ type = "unavailable" };
-			if err == "closed" then err = "connection closed"; end
+			if err == "closed" then err = "connection closed"; end --FIXME where did err come from?
 			pres:tag("status"):text("Disconnected: "..err);
 			session.stanza_dispatch(pres);
 		end

mercurial