equal
deleted
inserted
replaced
140 |
140 |
141 if not data then |
141 if not data then |
142 origin.send(st.error_reply(stanza, "cancel", "internal-server-error", err)); |
142 origin.send(st.error_reply(stanza, "cancel", "internal-server-error", err)); |
143 return true; |
143 return true; |
144 end |
144 end |
145 local total = err; |
145 local total = tonumber(err); |
146 |
146 |
147 origin.send(st.reply(stanza)); |
147 origin.send(st.reply(stanza)); |
148 local msg_reply_attr = { to = stanza.attr.from, from = stanza.attr.to }; |
148 local msg_reply_attr = { to = stanza.attr.from, from = stanza.attr.to }; |
149 |
149 |
150 local results = {}; |
150 local results = {}; |