Skip to content
Snippets Groups Projects
Commit 4a4e1e3e authored by rswindell's avatar rswindell
Browse files

Read user's location and note from database before writing to logon.lst.

parent 603f780d
No related branches found
No related tags found
No related merge requests found
......@@ -442,6 +442,8 @@ bool sbbs_t::logon()
errormsg(WHERE,ERR_OPEN,str,O_RDWR|O_CREAT|O_APPEND);
return(false);
}
getuserrec(&cfg,useron.number,U_NOTE,LEN_NOTE,useron.note);
getuserrec(&cfg,useron.number,U_LOCATION,LEN_LOCATION,useron.location);
sprintf(str,text[LastFewCallersFmt],cfg.node_num
,totallogons,useron.alias
,cfg.sys_misc&SM_LISTLOC ? useron.location : useron.note
......
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