From 45eb7785608fe7025ffc0e072e3f4bf57acf7d59 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 18 Aug 2013 16:39:35 +0000 Subject: [PATCH] derp --- modules/log/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/log/log.js b/modules/log/log.js index 45127fe..2515e0b 100644 --- a/modules/log/log.js +++ b/modules/log/log.js @@ -7,7 +7,7 @@ var _ = require('underscore')._; var log = function(dbot) { this.api = { 'log': function(server, user, message) { - var logChannel = this.config.logChannel[event.server]; + var logChannel = this.config.logChannel[server]; dbot.say(server, logChannel, dbot.t('log_message', { 'time': new Date().toUTCString(), 'command': message,