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 5a63e648 authored by rswindell's avatar rswindell

Make the out BAUD and BPS @-codes report the current emulated output rate,

if not unlimited.
parent 23b1912a
......@@ -294,7 +294,7 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode)
return(cfg.sys_name);
if(!strcmp(sp,"BAUD") || !strcmp(sp,"BPS")) {
safe_snprintf(str,maxlen,"%lu",cur_rate);
safe_snprintf(str,maxlen,"%lu",cur_output_rate ? cur_output_rate : cur_rate);
return(str);
}
......
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