mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
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