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.
Please register or sign in to comment