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) { this.listener = function(event) {
if(event.channel == event.user) return; // ignore PMs
event.cStats.lines++; event.cStats.lines++;
event.uStats.lines++; event.uStats.lines++;