From d9d7d9bff734dddcec5c9a5a7482b5cc445528ff Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 15 Jul 2013 18:51:32 +0000 Subject: [PATCH] fix the things --- run.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/run.js b/run.js index a9f202d..839bf21 100644 --- a/run.js +++ b/run.js @@ -281,11 +281,8 @@ DBot.prototype.reloadModules = function() { try { propertyData = JSON.parse(fs.readFileSync(moduleDir + property + '.json', 'utf-8')); } catch(err) { - this.status[name] = 'Error loading ' + property + - ': ' + err + ' - ' + err.stack.split('\n')[1].trim(); console.log('Data error (' + module.name + ') in ' + property + ': ' + err); - }; _.extend(this[property], propertyData); if(property == 'strings') {