Skip to content

Commit

Permalink
MySQL denyUser bug
Browse files Browse the repository at this point in the history
Big, stupid mistake.

Before now, when focus is whitelist, anyone can join the server,
regardless of status. Releasing update immediately.
  • Loading branch information
FerusGrim committed May 2, 2014
1 parent 9548ea5 commit c3e360a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void onPlayerLogin(PlayerLoginEvent event) {
} else {
plugin.mysqlm.createRecordFromLogin(uuid, playerName, playerAddress);
}
denyUser = !plugin.mysqlm.isPlayerWhitelisted(uuid);
break;
}
if (denyUser) {
Expand Down

0 comments on commit c3e360a

Please sign in to comment.