Skip to content
Permalink
Browse files

Error in logic

  • Loading branch information...
ElgarL authored and khobbits committed May 4, 2014
1 parent e8e9d28 commit b7a70be5e5c1f01b0dc8c1480bd7f030e23f9c4d
@@ -155,7 +155,7 @@ public User getUser(String uUID, String currentName) {
// Search for a LastName match
for (User usr : getUserList()) {

if (usr.getLastName().equalsIgnoreCase(currentName) && !usr.getUUID().equalsIgnoreCase(usr.getLastName())) {
if (usr.getLastName().equalsIgnoreCase(currentName) && usr.getUUID().equalsIgnoreCase(usr.getLastName())) {

// Clone this user so we can set it's uUID
user = usr.clone(uUID, currentName);

0 comments on commit b7a70be

Please sign in to comment.
You can’t perform that action at this time.