client.lua

changeset 344
ea668c47e1bd
parent 336
658c62c9ecc4
child 364
69fc23b44819
--- 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
 

mercurial