diff options
author | Tobias Markmann <tm@ayena.de> | 2008-11-15 13:47:17 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2008-11-15 13:47:17 +0100 |
commit | efb34b5c4af68c37a568e61986a0b93535a50814 (patch) | |
tree | ba77cb7ad14158323a31bfb9e332c508e94d5b31 /net | |
parent | 18e785078a2edf69bf4ec728290a18de2ed28cd7 (diff) | |
parent | aefcb845c34c7bf15a370812b28b5da27fbc983b (diff) | |
download | prosody-efb34b5c4af68c37a568e61986a0b93535a50814.tar.gz prosody-efb34b5c4af68c37a568e61986a0b93535a50814.zip |
Merging my new SASL code with Waqas' adjusted saslauth module.
Diffstat (limited to 'net')
-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 |