3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

re-add new_channel_user event in new user tracker (derp)

This commit is contained in:
reality 2013-08-19 08:28:40 +00:00
parent 9a5a75c1c2
commit fea9932631

View File

@ -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)) {