From 77e67b637b38d953bac63c06fe1434a22e446663 Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 17 Feb 2015 08:49:16 +0000 Subject: [PATCH] oops --- modules/web/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web/api.js b/modules/web/api.js index 168502f..ba108c8 100644 --- a/modules/web/api.js +++ b/modules/web/api.js @@ -37,7 +37,7 @@ var api = function(dbot) { accessNeeded = mConfig.webAccess; } - if(!_.isUndefined(accessNeeded) || accessNeeded == null) { + if(_.isUndefined(accessNeeded) || accessNeeded == null) { return next(); }