3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +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) { var log = function(dbot) {
this.api = { this.api = {
'log': function(server, user, message) { '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', { dbot.say(server, logChannel, dbot.t('log_message', {
'time': new Date().toUTCString(), 'time': new Date().toUTCString(),
'command': message, 'command': message,