util/stanza.lua

changeset 3848
3933e007f829
parent 3638
6f58a3063c14
child 3766
0d7137fee360
equal deleted inserted replaced
3847:9ffcf7df0c62 3848:3933e007f829
252 if condition and text then 252 if condition and text then
253 break; 253 break;
254 end 254 end
255 end 255 end
256 end 256 end
257 return type, condition or "undefined-condition", text or ""; 257 return type, condition or "undefined-condition", text;
258 end 258 end
259 259
260 function stanza_mt.__add(s1, s2) 260 function stanza_mt.__add(s1, s2)
261 return s1:add_direct_child(s2); 261 return s1:add_direct_child(s2);
262 end 262 end

mercurial