From 36496b64acb9de31ce4d0dabf87a1a9f55024448 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 19 Jul 2015 00:15:31 +0000 Subject: [PATCH] fix predo for quit --- modules/users/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/users/users.js b/modules/users/users.js index 536c1a1..91d8ff4 100644 --- a/modules/users/users.js +++ b/modules/users/users.js @@ -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;