Skip to content

Commit

Permalink
fix whitelist bug for multiple accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
FireBall1725 committed Feb 27, 2024
1 parent 576c008 commit bc30cc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/kotlin/ca/fireball1725/lcs/discordbot/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ suspend fun main(args: Array<String>) {

// todo: Load the servers from database
// todo: really need to do this...

// servers["b1107111"] =
// Server(
// "b1107111",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class Database {
val query = connection!!.prepareStatement(
"SELECT record_uuid " +
"FROM minecraft_accounts " +
"WHERE member_uuid='0615dcb7-f0ca-465b-8461-a79eb644b4dc'"
"WHERE member_uuid='${memberId}'"
)
val resultSet = query.executeQuery()

Expand Down

0 comments on commit bc30cc4

Please sign in to comment.