diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-15 00:35:09 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-15 00:35:09 +0000 |
commit | 785e99a1afd75882fed1f1f7ca8d7daa1bf34018 (patch) | |
tree | 033cd05b2127aa173d0726b9ba1c61298512249f /net/xmppclient_listener.lua | |
parent | 1c704dcef79c640ffdbc259af63c29ac47599e89 (diff) | |
parent | fc57c3a09a9ca234f45bb3a1e9b3d8fd8d48d2e0 (diff) | |
download | prosody-785e99a1afd75882fed1f1f7ca8d7daa1bf34018.tar.gz prosody-785e99a1afd75882fed1f1f7ca8d7daa1bf34018.zip |
Merge from waqas
Diffstat (limited to 'net/xmppclient_listener.lua')
-rw-r--r-- | net/xmppclient_listener.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua index ca4cbbb0..914dd78e 100644 --- a/net/xmppclient_listener.lua +++ b/net/xmppclient_listener.lua @@ -78,7 +78,7 @@ function xmppclient.disconnect(conn) 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 |