aboutsummaryrefslogtreecommitdiff
path: root/src/net/websocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/websocket.c')
-rw-r--r--src/net/websocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/websocket.c b/src/net/websocket.c
index 06283f6..0f6081f 100644
--- a/src/net/websocket.c
+++ b/src/net/websocket.c
@@ -212,7 +212,7 @@ int l_websocket_upgrade(lua_State* L){
data->ctx = ctx->ctx;
data->buffer = str_init("");
- luaI_tsetnil(L, req_idx, "roll");
+ luaI_tsetnil(L, req_idx, "load");
luaI_tsetlud(L, res_idx, "_ws", data);
#warning "missing ws commands"
luaI_tsetcf(L, res_idx, "send", l_ws_write);