Changeset

3848:3933e007f829

util.stanza: Change get_error() to return nil rather than '' for no text
author Matthew Wild <mwild1@gmail.com>
date Sat, 11 Dec 2010 22:34:29 +0000
parents 3847:9ffcf7df0c62
children 3849:34981acbd5d5
files util/stanza.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)