Software /
code /
verse
Diff
client.lua @ 344:ea668c47e1bd
verse.client: Fix stream error error
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 14 Jun 2013 23:25:54 +0200 |
parent | 336:658c62c9ecc4 |
child | 364:69fc23b44819 |
line wrap: on
line diff
--- a/client.lua Sat Jun 08 18:17:09 2013 +0100 +++ b/client.lua Fri Jun 14 23:25:54 2013 +0200 @@ -55,7 +55,7 @@ if stream:event(e, stanza) == nil then local err = stanza:get_child(nil, "urn:ietf:params:xml:ns:xmpp-streams"); local text = stanza:get_child_text("text", "urn:ietf:params:xml:ns:xmpp-streams"); - error(err.name..(text and ": "..text)); + error(err.name..(text and ": "..text or "")); end end