diff options
author | MrYummy <elemental428@gmail.com> | 2017-10-31 15:44:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-31 15:44:18 -0400 |
commit | 3fb5924318dee8f023dbea5e31526a74ca1f35e8 (patch) | |
tree | 0346627a9583e4bd01e4b668a324bfe4707793ad | |
parent | 2223f88d7bd94c98108e03307b5e52f26e8437ff (diff) |
trimmed UUIDs from banned-players.json
-rw-r--r-- | app/controllers/users_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index cc77c44..d657053 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -32,7 +32,7 @@ class UsersController < ApplicationController end def show - @ban_json = JSON.parse(File.read("/etc/minecraft/redstoner/banned-players.json")).detect {|u| u["uuid"] == @user.uuid} + @ban_json = JSON.parse(File.read("/etc/minecraft/redstoner/banned-players.json")).detect {|u| u["uuid"].tr("-", "") == @user.uuid} end # SIGNUP |