mirror of
https://github.com/reality/dbot.git
synced 2024-12-30 14:42:51 +01:00
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