Skip to content
Snippets Groups Projects
Commit 924306dc authored by rswindell's avatar rswindell
Browse files

Bugfix: User class was using temporary scfg pointer which would be overwritten

by subsequent logins on other nodes. When the other nodes logged off, the
pointer was bad so a call to the User constructor would cause a segfault.
parent 565b6a81
No related branches found
No related tags found
No related merge requests found
......@@ -726,7 +726,7 @@ bool sbbs_t::js_init()
break;
/* User class */
if(js_CreateUserClass(js_cx, js_glob, &cfg)==NULL)
if(js_CreateUserClass(js_cx, js_glob, &scfg)==NULL)
break;
/* Area Objects */
......
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