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

sbbs_t::bputs() now checks online value in while() loop.

sbbs_t::rputs() now:
* Can accept an optional length argument which allows it to output strings
with embedded NULs if desired.
* If a call to outcom() fails, terminates and returns the sent number of chars.
* Performs Telnet IAC escaping when appropriate.
* Checks online value in while() loop.
* No longer output to log if "on local" - event scripts aren't expected to use
this function.
JS console.write() and writeln() now use rputs() instead of putcom() so that
Telnet IAC chars are escaped when necessary and saveline/restoreline will work.
sbbs_t::putcom() now returns the number of chars sent successfully.
parent 4595fccd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment