Pop-Up Thingie

The Computer Express
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. FidoNet
  3. SYNC SYSOPS
  • Merge branch 'dd_msg_reader_permission_check_optimizations' into 'mast

    From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Tue Oct 10 23:08:18 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/22eeb41029934d6f8df7c1ab84b39f39c7b64f31#note_4319

    You don't need to open a message base to check its configuration. This will definitely slow down this function unnecessarily.

    Instead:
    ```
    canDelete = Boolean(msg_area.sub[this.subBoardCode].settings & SUB_DEL);
    ```

    I'm not clear why you're doing the ```canDelete = canDelete ||` either. Since you've already checked that `CanDelete` is false, that seems unnecessary. And the `== SUB_DEL` is also unnecessary.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Tue Oct 10 23:09:32 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/22eeb41029934d6f8df7c1ab84b39f39c7b64f31#note_4320

    Ditto here. Not necessary to open the message base.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Tue Oct 10 23:10:32 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/22eeb41029934d6f8df7c1ab84b39f39c7b64f31#note_4321

    Here too. And you've got the other unnecessary bits too.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Tue Oct 10 23:10:50 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/22eeb41029934d6f8df7c1ab84b39f39c7b64f31#note_4322

    Same here. :-)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Wed Oct 11 09:01:26 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/22eeb41029934d6f8df7c1ab84b39f39c7b64f31#note_4323

    Thanks. Also, I realized afterward I don't need the "canDelete ||".
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • Who's Online

  • Recent Visitors

    • Guest
      Sat Jun 28 15:28:02 2025
      from System via Raw
    • Guest
      Sun Jun 22 20:12:55 2025
      from Faribault, Mn via Telnet
    • Guest
      Sun Jun 22 18:18:54 2025
      from Faribault, Mn via Telnet
    • Guest
      Wed Jun 18 17:49:20 2025
      from Italy via Telnet
  • System Info

    Sysop: Coz
    Location: Anoka, MN
    Users: 2
    Nodes: 4 (0 / 4)
    Uptime: 186:48:22
    Calls: 337
    Files: 5,978
    Messages: 230,915

© The Computer Express, 2025