Commit 73596819 authored by rswindell's avatar rswindell

The trigger to print a CRLF before claling putmsg() from getnmsg() and

getsmsg() is now based on the current console column (!=0), not the current
node action.
parent 8a0231b9
......@@ -248,10 +248,8 @@ int sbbs_t::getnmsg()
close(file);
buf[length]=0;
if(thisnode.action==NODE_MAIN || thisnode.action==NODE_XFER
|| sys_status&SS_IN_CTRLP) {
if(cols)
CRLF;
}
putmsg(buf,P_NOATCODES);
free(buf);
......@@ -353,10 +351,8 @@ int sbbs_t::getsmsg(int usernumber)
close(file);
buf[length]=0;
getnodedat(cfg.node_num,&thisnode,0);
if(thisnode.action==NODE_MAIN || thisnode.action==NODE_XFER
|| sys_status&SS_IN_CTRLP) {
if(cols)
CRLF;
}
putmsg(buf,P_NOATCODES);
free(buf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment