3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00
This commit is contained in:
reality 2013-08-18 16:39:35 +00:00
parent 930ca1fbc0
commit 45eb778560

View File

@ -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,