diff --git a/modules/web/web.js b/modules/web/web.js index c986750..a3bbd5f 100644 --- a/modules/web/web.js +++ b/modules/web/web.js @@ -91,6 +91,7 @@ var webInterface = function(dbot) { var moduleNames = _.keys(dbot.modules); var indexModules = []; + // fix the thingy _.each(moduleNames, function(moduleName) { var modulePath = '/' + moduleName; if(_.include(routes, modulePath)) { diff --git a/views/warning/warnings.jade b/views/warning/warnings.jade index 18bfc70..2aac88b 100644 --- a/views/warning/warnings.jade +++ b/views/warning/warnings.jade @@ -12,7 +12,7 @@ block content th Warner th Reason tbody - for warning, key in warnings + each warning, key in warnings tr td #{new Date(warning.time)} td #{warning.warner}