Skip to content
Snippets Groups Projects
Commit 8b40ce01 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Workaround crash

For now, this is a quick hacky fix.  The web server does not store
an sbbs_t in the context private, so we can't use it here.

This needs further work.
parent 9c3a122c
Branches
No related tags found
No related merge requests found
Pipeline #8795 passed
......@@ -617,7 +617,7 @@ static JSBool js_user_set(JSContext *cx, JSObject *obj, jsid id, JSBool strict,
ptr = JS_GetContextPrivate(cx);
rc = JS_SUSPENDREQUEST(cx);
putusermisc(scfg, p->user->number, p->user->misc = val);
update_terminal(ptr, p->user);
//update_terminal(ptr, p->user);
break;
case USER_PROP_QWK:
JS_RESUMEREQUEST(cx, rc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment