Skip to content

Commit 08b6a31

Browse files
committed
1 parent cba2513 commit 08b6a31

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
diff a/src/Classes/TradeQueryRequests.lua b/src/Classes/TradeQueryRequests.lua (rejected hunks)
2+
@@ -40,7 +40,7 @@ function TradeQueryRequestsClass:ProcessQueue()
3+
return
4+
end
5+
-- if limit rules don't return account then the POESESSID is invalid.
6+
- if response.header:match("X%-Rate%-Limit%-Rules: (.-)\n"):match("Account") == nil and main.POESESSID ~= "" then
7+
+ if response.header:match("[xX]%-[rR]ate%-[lL]imit%-[rR]ules: (.-)\n"):match("Account") == nil and main.POESESSID ~= "" then
8+
main.POESESSID = ""
9+
if errMsg then
10+
errMsg = errMsg .. "\nPOESESSID is invalid. Please Re-Log and reset"

0 commit comments

Comments
 (0)