mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +01:00
batchstatus
This commit is contained in:
parent
a107c81ad3
commit
a4141288e5
@ -92,6 +92,9 @@ var commands = function(dbot) {
|
|||||||
aliases = [],
|
aliases = [],
|
||||||
reportsFound = [];
|
reportsFound = [];
|
||||||
nicks.splice(0, 1);
|
nicks.splice(0, 1);
|
||||||
|
_.each(nicks, function(nick, i) {
|
||||||
|
nicks[i] = nick.replace(/,/g,'');
|
||||||
|
});
|
||||||
|
|
||||||
async.eachSeries(nicks, function(nick, next) {
|
async.eachSeries(nicks, function(nick, next) {
|
||||||
dbot.api.users.resolveUser(event.server, nick, function(err, user) {
|
dbot.api.users.resolveUser(event.server, nick, function(err, user) {
|
||||||
|
Loading…
Reference in New Issue
Block a user