equal
deleted
inserted
replaced
215 |
215 |
216 if not data then |
216 if not data then |
217 origin.send(st.error_reply(stanza, "cancel", "internal-server-error")); |
217 origin.send(st.error_reply(stanza, "cancel", "internal-server-error")); |
218 return true; |
218 return true; |
219 end |
219 end |
220 local total = err; |
220 local total = tonumber(err); |
221 |
221 |
222 origin.send(st.reply(stanza)) |
222 origin.send(st.reply(stanza)) |
223 local msg_reply_attr = { to = stanza.attr.from, from = stanza.attr.to }; |
223 local msg_reply_attr = { to = stanza.attr.from, from = stanza.attr.to }; |
224 |
224 |
225 local results = {}; |
225 local results = {}; |