From 924306dc1d94b4124b8a1bb88ddc5a73ba88f7da Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 29 Mar 2003 11:34:35 +0000 Subject: [PATCH] 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. --- src/sbbs3/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index faa004a8bd..84133d32fe 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -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 */ -- GitLab