mirror of
https://github.com/reality/dbot.git
synced 2025-01-24 02:54:16 +01:00
whoops
This commit is contained in:
parent
5358d1be96
commit
2ab019008f
@ -159,7 +159,7 @@ var users = function(dbot) {
|
|||||||
dbot.api.event.emit('new_channel_user', [ event.rUser, event.rChannel ]);
|
dbot.api.event.emit('new_channel_user', [ event.rUser, event.rChannel ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(event.action != 'JOIN' && (!_.has(event.channel, 'nicks') || !_.has(event.channel.nicks, event.rUser.currentNick))) {
|
if(!_.has(event.channel, 'nicks') || !_.has(event.channel.nicks, event.rUser.currentNick)) {
|
||||||
return done();
|
return done();
|
||||||
}
|
}
|
||||||
var cUser = event.channel.nicks[event.rUser.currentNick];
|
var cUser = event.channel.nicks[event.rUser.currentNick];
|
||||||
|
Loading…
Reference in New Issue
Block a user