Skip to content
Snippets Groups Projects
Commit 15a3a0dc authored by rswindell's avatar rswindell
Browse files

Fixed bug in last commit: must use global scfg_t instance (rather than class

member) to maintain fixes from 1.234 and 1.83.
parent f81de4c8
No related branches found
No related tags found
No related merge requests found
......@@ -884,7 +884,7 @@ bool sbbs_t::js_init()
JS_SetContextPrivate(js_cx, this); /* Store a pointer to sbbs_t instance */
/* Global Objects (including system, js, client, Socket, MsgBase, File, User, etc. */
if((js_glob=js_CreateGlobalObjects(js_cx, &cfg, js_global_functions
if((js_glob=js_CreateGlobalObjects(js_cx, &scfg, js_global_functions
,uptime, startup->host_name, SOCKLIB_DESC /* system */
,&js_branch /* js */
,&client, client_socket /* client */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment