changeset 1101 | 479df3e0b012 |
parent 704 | 57206f8f7b09 |
child 1102 | bfde5e5318d7 |
--- a/mod_mam/rsm.lib.lua Mon Jul 08 00:43:20 2013 +0200 +++ b/mod_mam/rsm.lib.lua Mon Jul 08 12:19:53 2013 +0200 @@ -39,6 +39,13 @@ st:tag("first"):text(tostring(data)):up(); end end; + before = function(st, data) + if data == true then + st:tag("before"):up(); + else + st:tag("before"):text(tostring(data)):up(); + end + end }, { __index = function(_, name) return function(st, data)