3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-27 21:22:38 +01:00

ignore pms for stats

This commit is contained in:
reality 2015-10-13 05:36:49 +00:00
parent 3a57f11f69
commit 939797f5be

View File

@ -75,6 +75,7 @@ var sstats = function(dbot) {
};
this.listener = function(event) {
if(event.channel == event.user) return; // ignore PMs
event.cStats.lines++;
event.uStats.lines++;