that bug that somethjing

This commit is contained in:
reality 2013-01-16 20:21:28 +00:00
parent d99820ee3d
commit e2e1c0b6a9

View File

@ -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;