• src/sbbs3/answer.cpp atco

    From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Monday, May 19, 2025 17:56:00
    https://gitlab.synchro.net/main/sbbs/-/commit/4eadc17a3f4efb089c9bb0c7
    Modified Files:
    src/sbbs3/answer.cpp atcodes.cpp bat_xfer.cpp chat.cpp chk_ar.cpp data.cpp email.cpp file.cpp ftpsrvr.c getkey.cpp getmsg.cpp getnode.cpp login.cpp logon.cpp logout.cpp main.cpp msgtoqwk.cpp netmail.cpp postmsg.cpp prntfile.cpp putmsg.cpp readmail.cpp readmsgs.cpp sbbs.h sbbsdefs.h str.cpp upload.cpp writemsg.cpp xtrn_sec.cpp
    Log Message:
    Abstract sysop user status using userdat.c function and new sbbs_t method

    ... instead of C macros: SYSOP and REALSYSOP

    REALSYSOP -> user_is_sysop(&useron)
    SYSOP -> sbbs_t::useron_is_sysop()

    This change also also includes a bug fix in chk_ar.cpp:
    sbbs_t::chk_ar() would evalulate the ARS keyword "SYSOP" as being true when temporary sysop status was set (e.g. after CHUSERing to another user) even
    when the user being checked was not the current user online (useron). The only obvious impact of this bug (that I found) would be when using the bulkmail feature and wanting to send to only SYSOPs *after* having CHUSER'd to another user, it would actually send bulk mail to *all* users. Listing users with access to a particular message or file area that had an access restriction
    of "SYSOP" (using sbbs_t::userlist()) would also have this issue (it would
    list *all* users). ARS searches in the online user editor for "SYSOP" would also do weird stuff in this case.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Monday, May 19, 2025 18:49:00
    https://gitlab.synchro.net/main/sbbs/-/commit/b30586ce45580f6e3f2b9750
    Modified Files:
    src/sbbs3/answer.cpp atcodes.cpp bat_xfer.cpp bulkmail.cpp chat.cpp con_hi.cpp con_out.cpp download.cpp exec.cpp execfile.cpp execfunc.cpp execmsg.cpp execnet.cpp getkey.cpp getmsg.cpp getnode.cpp getstr.cpp inkey.cpp js_console.cpp listfile.cpp logfile.cpp logon.cpp pack_qwk.cpp pack_rep.cpp prntfile.cpp putmsg.cpp qwk.cpp readmail.cpp readmsgs.cpp sbbs.h sbbsdefs.h scansubs.cpp str.cpp telgate.cpp un_rep.cpp upload.cpp useredit.cpp ver.cpp viewfile.cpp writemsg.cpp
    Log Message:
    Eliminate global C hackros: CRLF and CLS

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Sunday, January 11, 2026 04:39:00
    https://gitlab.synchro.net/main/sbbs/-/commit/af8e69a13e2722fcb7e3df3c
    Modified Files:
    src/sbbs3/answer.cpp atcodes.cpp chat.cpp chk_ar.cpp src/sbbs3/ctrl/UserListFormUnit.cpp src/sbbs3/exec.cpp src/sbbs3/gtkuseredit/events.c src/sbbs3/gtkuserlist/events.c src/sbbs3/js_system.cpp js_user.cpp newuser.cpp sbbsdefs.h src/sbbs3/uedit/uedit.c src/sbbs3/upgrade_to_v320.c userdat.c useredit.cpp src/sbbs3/useredit/MainFormUnit.cpp
    Log Message:
    Change user_t.comp to user_t.host

    This field ("computer") was re-purposed long, long ago.

    Also cleaned-up some places where Note was being used for IP Address
    (from before we had a dedicated user field for that) and uedit's new user creation copy-pasta.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net