14 hash, -- item id |
14 hash, -- item id |
15 nil, -- options (not implemented anyway) |
15 nil, -- options (not implemented anyway) |
16 -- <report xmlns="urn:xmpp:reporting:1" reason="urn:xmpp:reporting:abuse"/> |
16 -- <report xmlns="urn:xmpp:reporting:1" reason="urn:xmpp:reporting:abuse"/> |
17 verse.stanza("report", { |
17 verse.stanza("report", { |
18 xmlns = "urn:xmpp:reporting:1"; |
18 xmlns = "urn:xmpp:reporting:1"; |
19 reason = "urn:xmpp:reporting:spam"; }), |
19 reason = "urn:xmpp:reporting:abuse"; }), |
20 function (success) -- callback |
20 function (success) -- callback |
21 if not success then |
21 if not success then |
22 command:reply("Failed to update RTBL"); |
22 command:reply("Failed to update RTBL"); |
23 return; |
23 return; |
24 end |
24 end |