Mercurial > prosody-modules
comparison mod_mam/rsm.lib.lua @ 704:57206f8f7b09
mod_mam/rsm.lib: Remove log statement (fixes usage in verse)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 Jun 2012 19:52:36 +0200 |
parents | 7e065836c3f6 |
children | 479df3e0b012 |
comparison
equal
deleted
inserted
replaced
703:7e065836c3f6 | 704:57206f8f7b09 |
---|---|
72 | 72 |
73 local function get(st) | 73 local function get(st) |
74 local set = st:get_child("set", xmlns_rsm); | 74 local set = st:get_child("set", xmlns_rsm); |
75 if set and #set.tags > 0 then | 75 if set and #set.tags > 0 then |
76 return parse(set); | 76 return parse(set); |
77 else | |
78 module:log("debug", "RSM parse failed, %s", tostring(st)); | |
79 end | 77 end |
80 end | 78 end |
81 | 79 |
82 return { parse = parse, generate = generate, get = get }; | 80 return { parse = parse, generate = generate, get = get }; |