This commit is contained in:
reality 2013-06-21 18:40:00 +00:00
parent 5f3c06a7a0
commit 520be40504

View File

@ -151,6 +151,15 @@ var users = function(dbot) {
}
}.bind(this));
dbot.instance.addPreEmitHook(function(event, callback) {
if(event.channel) {
this.api.getChannel(event.server, event.channel.name, function(channel) {
event.rChannel = channel;
callback(false);
});
}
}.bind(this));
dbot.instance.addListener('366', 'users', function(event) {
this.api.getChannel(event.server, event.channel.name, function(channel) {
var checkChannelUsers = function(channel) {