diff --git a/modules/users/api.js b/modules/users/api.js index 1899981..4597513 100644 --- a/modules/users/api.js +++ b/modules/users/api.js @@ -25,9 +25,10 @@ var api = function(dbot) { }, this); if(!_.isUndefined(resolvedUser)) user = resolvedUser; } - + else{ + user = resolvedUser; + } } - return user; },