fix moderate.js
This commit is contained in:
parent
9459e1758d
commit
f91bd642a5
@ -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);
|
||||
|
Reference in New Issue
Block a user