Archived
1
0

fix moderate.js

This commit is contained in:
Jeff Becker 2016-02-20 09:42:22 -05:00
parent 9459e1758d
commit f91bd642a5
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -46,6 +46,6 @@ var moderate = function(req) {
var privateKey = "longhexgoestripcodegoeshere";
// ban 192.168.0.1/16 and sign with private key
moderate(makeIpBans(["192.168.0.1/16"], privateKey));
makeIpBans(["192.168.0.1/16"], privateKey, moderate);
// delete <msg1@place.tld> and <msg2@otherplace.tld> and sign with private key
moderate(makeDeletPosts(["<msg1@place.tld>", "<msg2@otherplace.tld>"], privateKey));
makeDeletPosts(["<msg1@place.tld>", "<msg2@otherplace.tld>"], privateKey, moderate);