From f91bd642a545114d04a2d150098523a08d3e295d Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 20 Feb 2016 09:42:22 -0500 Subject: [PATCH] fix moderate.js --- contrib/tools/api/moderate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/tools/api/moderate.js b/contrib/tools/api/moderate.js index 16daf5f..5b7c6a0 100644 --- a/contrib/tools/api/moderate.js +++ b/contrib/tools/api/moderate.js @@ -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 and and sign with private key -moderate(makeDeletPosts(["", ""], privateKey)); +makeDeletPosts(["", ""], privateKey, moderate);