projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* msgbase.c: CtdlCheckInternetMailPermission(): Do not allow twits to send
[citadel.git]
/
citadel
/
msgbase.c
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index 32ce0b09302b1e8f1e6efd1d0bde0f9c104f4e80..e09e5d14a00a5badd468f3598ece89c73f2bf07b 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-2470,6
+2470,9
@@
int CtdlDoIHavePermissionToPostInThisRoom(char *errmsgbuf, size_t n) {
*/
int CtdlCheckInternetMailPermission(struct ctdluser *who) {
+ /* Do not allow twits to send Internet mail */
+ if (who->axlevel <= 2) return(0);
+
/* Globally enabled? */
if (config.c_restrict == 0) return(1);