mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
hmm
This commit is contained in:
parent
57a2a12814
commit
0384a45bf7
@ -56,7 +56,7 @@ console.log('removing ' + uPart);
|
||||
}
|
||||
|
||||
var offlineOps = {};
|
||||
async.each(ops, function(op, done) {
|
||||
async.eachSeries(ops, function(op, done) {
|
||||
dbot.api.users.isOnline(server, cName, op, function(err, user, online) {
|
||||
if(user) {
|
||||
if(!err && !online) offlineOps[op] = user;
|
||||
@ -93,7 +93,7 @@ console.log('removing ' + uPart);
|
||||
}.bind(this));
|
||||
}.bind(this));
|
||||
}.bind(this));
|
||||
} else {
|
||||
} else { // no atheme
|
||||
var channel = dbot.instance.connections[server].channels[cName];
|
||||
var ops = _.filter(channel.nicks, function(user) {
|
||||
if(this.config.notifyVoice) {
|
||||
|
Loading…
Reference in New Issue
Block a user