mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +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);
|
}.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