rtbl_admin: Fix reason string (abuse is defined to be the most generic)

Mon, 06 Dec 2021 11:26:37 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 06 Dec 2021 11:26:37 +0000
changeset 166
95b668d73ff9
parent 165
ec0567256b11
child 167
2073137bc943

rtbl_admin: Fix reason string (abuse is defined to be the most generic)

Would be nice to support reasons in the future (and text annotations)

plugins/rtbl_admin.lua file | annotate | diff | comparison | revisions
--- a/plugins/rtbl_admin.lua	Sun Dec 05 18:35:39 2021 +0000
+++ b/plugins/rtbl_admin.lua	Mon Dec 06 11:26:37 2021 +0000
@@ -16,7 +16,7 @@
 			-- <report xmlns="urn:xmpp:reporting:1" reason="urn:xmpp:reporting:abuse"/>
 			verse.stanza("report", {
 				xmlns = "urn:xmpp:reporting:1";
-				reason = "urn:xmpp:reporting:spam"; }),
+				reason = "urn:xmpp:reporting:abuse"; }),
 			function (success) -- callback
 				if not success then
 					command:reply("Failed to update RTBL");

mercurial