diff --git a/scripts/zones/vip-lounge.lua b/scripts/zones/vip-lounge.lua index dba48df..1d0c378 100644 --- a/scripts/zones/vip-lounge.lua +++ b/scripts/zones/vip-lounge.lua @@ -270,3 +270,11 @@ add_printer("/clan_viplounge.php", function() ]]):gsub([[]], [[
]]):gsub([[Hot Dog Leaderboards]], [[%0
{ Hide "eat and restock" links }]]) end end) + +add_automator("/clan_viplounge.php", function() + if params.preaction == "speakeasydrink" and params.drink and text:contains("
Huh?
") then + -- WORKAROUND: Kolproxy is changing this POST request into GET when clicking through warnings. + -- WORKAROUND: Reload the page here to get around this bug, since this particular page requires POST parameters. + text, url = post_page(path, params) + end +end)