summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-12-29 20:18:33 +0000
committerubq323 <ubq323@ubq323.website>2022-12-29 20:18:33 +0000
commitec8327c53e65f947e9557954c48e360881ccb6c6 (patch)
tree2ab695f660fdf148eda0808751c27628a1e4b275
parent61325b63fecf0b99ebc7283a530ca9264fe42d9d (diff)
shop
-rw-r--r--shop.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/shop.lua b/shop.lua
index 9c056ec..6bef012 100644
--- a/shop.lua
+++ b/shop.lua
@@ -4,7 +4,7 @@ assert(sres.ok,"not ok")
ws = assert(http.websocket(sres.url))
while true do
- _,_,c = os.pullEvent"websocket_message"
+ c=ws.receive()
print(c)
end