diff --git a/src/sbbs3/answer.cpp b/src/sbbs3/answer.cpp index 7352d4d4c294828f8ac649614658fa526d5a47bd..1f52e1abb01906fb78a0239e5094666ac94f0f3b 100644 --- a/src/sbbs3/answer.cpp +++ b/src/sbbs3/answer.cpp @@ -417,8 +417,6 @@ bool sbbs_t::answer() if(!useron.number) hangup(); - if(!online) - return(false); /* Save the IP to the user's note */ if(cid[0]) { @@ -432,10 +430,14 @@ bool sbbs_t::answer() putuserrec(&cfg,useron.number,U_COMP,LEN_COMP,useron.comp); } + if(!online) + return(false); + if(!(sys_status&SS_USERON)) { errormsg(WHERE,ERR_CHK,"User not logged on",0); hangup(); - return(false); } + return(false); + } return(true); }