This commit is contained in:
reality 2013-01-04 18:12:33 +00:00
parent 958c438a45
commit c5b489fd9d

View File

@ -33,7 +33,7 @@ var users = function(dbot) {
}); });
var api = { var api = {
'resolveUser': function(server, nick) { 'resolveUser': function(server, nick, useLowercase) {
var knownUsers = getServerUsers(server); var knownUsers = getServerUsers(server);
var user = nick; var user = nick;
if(!knownUsers.users.include(nick) && knownUsers.aliases.hasOwnProperty(nick)) { if(!knownUsers.users.include(nick) && knownUsers.aliases.hasOwnProperty(nick)) {