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)