]> git.example.dev Git - binbsis50.git/commitdiff
removed unneeded `:` prefix
authorLuigi Pinca <luigipinca@gmail.com>
Wed, 4 Jun 2014 07:31:37 +0000 (09:31 +0200)
committerLuigi Pinca <luigipinca@gmail.com>
Wed, 4 Jun 2014 07:31:37 +0000 (09:31 +0200)
lib/utils.js
package.json
public/js/app.js

index dba428920e968eea3d214842472c0176acb280f3..e1bf9faf2b3700b724acc55739a07c1d297becb8 100644 (file)
@@ -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);
     }
 
index 69c7fe33d444469dd17e5733ad903917bc818cbe..21d902a2b8f7f03a26ff43297a76cd995daf2330 100644 (file)
@@ -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"
 }
index 7383f03ef739ed9a645c182c3c181e6c60650a44..0d387cd6c82e40e60c56738b66262573fb2ffb28 100644 (file)
     unban: {
       fn: unbanPlayer,
       minargs: 1,
-      usage: 'usage: /unban &lt;IP&gt;|:list'
+      usage: 'usage: /unban &lt;IP&gt;|list'
     },
     unignore: {
       checkrecipient: true,