From 7cbbef2abb3e5c698d8cfcad3896200a74dd79ab Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Wed, 4 Jun 2014 09:31:37 +0200 Subject: [PATCH] removed unneeded `:` prefix --- lib/utils.js | 2 +- package.json | 4 ++-- public/js/app.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/utils.js b/lib/utils.js index dba4289..e1bf9fa 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -143,7 +143,7 @@ exports.unban = function(ip, spark, callback) { // At this point consider the command successfully executed callback(true); - if (ip !== ':list') { + if (ip !== 'list') { return db.del('ban:' + ip); } diff --git a/package.json b/package.json index 69c7fe3..21d902a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "analyze": false, "dependencies": { "async": "0.9.x", - "body-parser": "1.2.x", + "body-parser": "1.3.x", "canvas": "1.1.x", "connect-redis": "2.0.x", "cookie-parser": "1.1.x", @@ -35,5 +35,5 @@ "start": "node app.js" }, "subdomain": "binb", - "version": "0.5.0-1" + "version": "0.5.0-2" } diff --git a/public/js/app.js b/public/js/app.js index 7383f03..0d387cd 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -1024,7 +1024,7 @@ unban: { fn: unbanPlayer, minargs: 1, - usage: 'usage: /unban <IP>|:list' + usage: 'usage: /unban <IP>|list' }, unignore: { checkrecipient: true, -- 2.54.0