From 47dec97e1b773a82460c6a3b5f2cb0088c657862 Mon Sep 17 00:00:00 2001 From: Sam Nicholls Date: Wed, 16 Jan 2013 21:55:14 +0000 Subject: [PATCH] Case insensitive doom continues --- modules/users/api.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; },