--- 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