forked from GitHub/dbot
fix predo for quit
This commit is contained in:
parent
7ce6cb5dc2
commit
36496b64ac
@ -149,7 +149,7 @@ var users = function(dbot) {
|
||||
}.bind(this);
|
||||
|
||||
dbot.instance.addPreEmitHook(function(event, callback) {
|
||||
if(event.user && _.include(['JOIN', 'PRIVMSG'], event.action)) {
|
||||
if(event.user && _.include(['JOIN', 'PRIVMSG', 'QUIT'], event.action)) {
|
||||
checkUser(event, function(err, user) {
|
||||
checkUserTime(user, function() {
|
||||
event.rUser = user;
|
||||
|
Loading…
Reference in New Issue
Block a user