fix predo for quit

This commit is contained in:
reality 2015-07-19 00:15:31 +00:00
parent 7ce6cb5dc2
commit 36496b64ac

View File

@ -149,7 +149,7 @@ var users = function(dbot) {
}.bind(this); }.bind(this);
dbot.instance.addPreEmitHook(function(event, callback) { 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) { checkUser(event, function(err, user) {
checkUserTime(user, function() { checkUserTime(user, function() {
event.rUser = user; event.rUser = user;