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