# HG changeset patch # User Matthew Wild # Date 1292106869 0 # Node ID 3933e007f82979297d0f9b40996297963a07162f # Parent 9ffcf7df0c622f80f5ec472e035deea77e0119d0 util.stanza: Change get_error() to return nil rather than '' for no text diff -r 9ffcf7df0c62 -r 3933e007f829 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)