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);
|
}.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;
|
||||||
|
Loading…
Reference in New Issue
Block a user