Skip to content

Node.js based forum software built for the modern web

jobs disabled is boolean, great

barisusakli2423bd18eb9f
diff --git a/app.js b/app.js
index 0e6561d9a9..5835aa9ac7 100644
--- a/app.js
+++ b/app.js
@@ -157,7 +157,7 @@ function start() {
webserver.init();
sockets.init(webserver.server);
- if (nconf.get('isPrimary') === 'true' && nconf.get('jobsDisabled') !== 'true') {
+ if (nconf.get('isPrimary') === 'true' && !nconf.get('jobsDisabled')) {
require('./src/notifications').init();
require('./src/user').startJobs();
}