mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 06:19:24 +01:00
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) {
|
||||
if(event.channel == event.user) return; // ignore PMs
|
||||
event.cStats.lines++;
|
||||
event.uStats.lines++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user