# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1292106869 0
# Node ID fa516dc2c2de036eb176e67ba66d46e5fc85a707
# Parent  926ece7d0e6736933679200ee585b069dc674747
util.stanza: Change get_error() to return nil rather than '' for no text

diff -r 926ece7d0e67 -r fa516dc2c2de util/stanza.lua
--- a/util/stanza.lua	Sat Dec 11 00:19:15 2010 +0000
+++ b/util/stanza.lua	Sat Dec 11 22:34:29 2010 +0000
@@ -254,7 +254,7 @@
 			end
 		end
 	end
-	return type, condition or "undefined-condition", text or "";
+	return type, condition or "undefined-condition", text;
 end
 
 function stanza_mt.__add(s1, s2)