Skip to content
Snippets Groups Projects
Commit 1d99c314 authored by rswindell's avatar rswindell
Browse files

logout() doesn't set node status to WFC (this is handled in node_thread).

parent 3b6ba07c
No related branches found
No related tags found
No related merge requests found
......@@ -86,12 +86,15 @@ void sbbs_t::logout()
if(!online) { /* NOT re-login */
#if 0 /* too soon, handled in node_thread */
getnodedat(cfg.node_num,&thisnode,1);
thisnode.status=NODE_WFC;
thisnode.misc&=~(NODE_INTR|NODE_MSGW|NODE_NMSG
|NODE_UDAT|NODE_POFF|NODE_AOFF|NODE_EXT);
putnodedat(cfg.node_num,&thisnode);
#if 0 /* beep? */
#endif
#if 0 /* beep? */
if(sys_status&SS_SYSALERT) {
mswait(500);
offhook();
......@@ -102,7 +105,7 @@ void sbbs_t::logout()
nosound();
mswait(200); }
lkbrd(0); }
#endif
#endif
sys_status&=~SS_SYSALERT;
if(cfg.sys_logout[0]) /* execute system logout event */
external(cmdstr(cfg.sys_logout,nulstr,nulstr,NULL),EX_OUTL|EX_OFFLINE);
......
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