web/root/msgs savemsg.ssjs 1.30 1.31
Update of /cvsroot/sbbs/web/root/msgs
In directory cvs:/tmp/cvs-serv12619
Modified Files:
savemsg.ssjs
Log Message:
Fix bug reported by Xucaen (sort-of):
Check the user's 'M' restriction before allowing them to send netmail and throw an error if they're not allowed.
The actual bug reported was that the global setting in SCFG->Networks->Internet ->Allow Sending of E-Mail wasn't being followed in the old/legacy Web GUI,
and that's still the case because the scfg_t.inetmail_misc value isn't (currently) exposed via JavaScript even though the bit-flag values (NMAIL_*) are defined in sbbsdefs.js - whoops, just an oversight.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net