Fixed invalid callback

This commit is contained in:
Björn Dahlgren 2015-02-13 17:14:12 +01:00
parent dd8ec19848
commit b87e327d81

View File

@ -30,7 +30,7 @@ Mods.prototype.updateMods = function () {
var self = this;
fs.readdir(self.config.path, function (err, files) {
if (err) {
callback(err);
console.log(err);
} else {
var mods = files.filter(function (file) {
return file.charAt(0) == "@";