forked from GitHub/dbot
ignore pms for stats
This commit is contained in:
parent
3a57f11f69
commit
939797f5be
@ -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++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user