forked from GitHub/dbot
that bug that somethjing
This commit is contained in:
parent
d99820ee3d
commit
e2e1c0b6a9
@ -24,9 +24,9 @@ var api = function(dbot) {
|
||||
var toMatch = new RegExp(user, "i");
|
||||
if(alias.match(toMatch) !== null) return nick;
|
||||
}, this);
|
||||
if(!_.isUndefined(resolvedUser)) user = resolvedUser;
|
||||
}
|
||||
|
||||
user = resolvedUser;
|
||||
}
|
||||
|
||||
return user;
|
||||
|
Loading…
Reference in New Issue
Block a user