summaryrefslogtreecommitdiff
path: root/shop.lua
diff options
context:
space:
mode:
Diffstat (limited to 'shop.lua')
-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