mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
re-add new_channel_user event in new user tracker (derp)
This commit is contained in:
parent
9a5a75c1c2
commit
fea9932631
@ -160,6 +160,8 @@ var users = function(dbot) {
|
||||
event.rUser.channels.push(event.rChannel.id);
|
||||
event.rChannel.users.push(event.rUser.id);
|
||||
needsUpdating = true;
|
||||
|
||||
dbot.api.event.emit('new_channel_user', [ event.rUser, event.rChannel ]);
|
||||
}
|
||||
|
||||
if(!_.has(event.channel, 'nicks') || !_.has(event.channel.nicks, event.rUser.currentNick)) {
|
||||
|
Loading…
Reference in New Issue
Block a user