• src/sbbs3/js_bbs.cpp sbbs.h telgate.cpp

    From Rob Swindell (in GitKraken)@1:103/705 to Git commit to main/sbbs/master on Thu Mar 9 17:30:38 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/813b3592c5fd2e79129f8041
    Modified Files:
    src/sbbs3/js_bbs.cpp sbbs.h telgate.cpp
    Log Message:
    [telnet|rlogin]_gate now returns bool (false if failed to connect)Previously, there was no real way to tell if the call to telnet_gate() or rlogin_gate() was successful (e.g. to display or an error message to the user), though there were error/warning messages logged for the sysop. Equivalent JS bbs object methods now return Boolean too.Include ":port" part of address argument to bbs.[telnet|rlogin]_gate methods in JSDOCS.Removed a bunch of extraneous (copy-pasted?) JS_SET_RVAL() calls from js_bbs.cpp. This just makes the code a little easier to grok.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)