3
0
mirror of https://github.com/reality/dbot.git synced 2025-02-20 07:20:59 +01:00

two space indent for log and karma, karma logging

This commit is contained in:
reality 2016-12-14 21:58:42 +00:00
parent ef86954025
commit a57b123fed
2 changed files with 188 additions and 185 deletions

View File

@ -139,6 +139,9 @@ var karma = function(dbot) {
'item': match[1], 'item': match[1],
'value': karma.karma 'value': karma.karma
})); }));
if(_.has(dbot.modules, 'log')) {
dbot.api.log.log(event.server, event.rUser.primaryNick, event.message);
}
}.bind(this)); }.bind(this));
}.bind(this)); }.bind(this));
} }