Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 75d0df0e authored by rswindell's avatar rswindell

Fix bug introduced in rev 1.49: cols is the number of terminal columns, not

the current column number. Use the correct member variable name (column).
parent 8c198b45
......@@ -250,7 +250,7 @@ int sbbs_t::getnmsg(bool clearline)
if(clearline)
this->clearline();
else if(cols)
else if(column)
CRLF;
putmsg(buf,P_NOATCODES);
free(buf);
......@@ -358,7 +358,7 @@ int sbbs_t::getsmsg(int usernumber, bool clearline)
if(clearline)
this->clearline();
else
if(cols)
if(column)
CRLF;
strip_invalid_attr(buf);
putmsg(buf,P_NOATCODES);
......
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