Pop-Up Thingie

The Gate BBS
  • Home
  • Forum
  • Files
  • Games
  • More
    • User List
  • Register
  • 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 Tuesday, October 10, 2023 23:08:19
    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 Tuesday, October 10, 2023 23:09:33
    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 Tuesday, October 10, 2023 23:10:32
    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 Tuesday, October 10, 2023 23:10:51
    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 Wednesday, October 11, 2023 09:01:26
    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

    • Dr. What
      Sunday, July 06, 2025 09:20:15
      from Rockford, MI via Telnet
  • System Info

    Sysop: Gate Keeper
    Location: Shelby, NC
    Users: 792
    Nodes: 20 (0 / 20)
    Uptime: 78:13:08
    Calls: 12,361
    Calls today: 1
    Files: 5,294
    D/L today: 19 files
    (4,301K bytes)
    Messages: 576,549

© The Gate BBS, 2025