Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Commit 3bf378c

Browse files
committed
Change order of keys to search for in LevelDB
1 parent 9a185b9 commit 3bf378c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/token/search.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ import (
1414
// Hence why we need to try and lookup both variants
1515
// We also support grabbing tokens for PTB/Canary, so look these up too
1616
var tokenKeys = []string{
17-
"_https://discord.com\x00\x01token",
1817
"_https://discordapp.com\x00\x01token",
19-
"_https://ptb.discord.com\x00\x01token",
18+
"_https://discord.com\x00\x01token",
2019
"_https://ptb.discordapp.com\x00\x01token",
21-
"_https://canary.discord.com\x00\x01token",
20+
"_https://ptb.discord.com\x00\x01token",
2221
"_https://canary.discordapp.com\x00\x01token",
22+
"_https://canary.discord.com\x00\x01token",
2323
}
2424

2525
func parseToken(data string) (string, error) {

0 commit comments

Comments
 (0)