mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
derp
This commit is contained in:
parent
930ca1fbc0
commit
45eb778560
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user