File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1515# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717#
18- # vim: ts=4 sw=4 expandtab
19- #
2018
2119"""An e-mail gateway for Roundup.
2220
@@ -74,7 +72,7 @@ class node. Any parts of other types are each stored in separate files
7472an exception, the original message is bounced back to the sender with the
7573explanatory message given in the exception.
7674
77- $Id: mailgw.py,v 1.155 2004-09-14 22:09:48 richard Exp $
75+ $Id: mailgw.py,v 1.156 2004-09-29 07:05:57 a1s Exp $
7876"""
7977__docformat__ = 'restructuredtext'
8078
@@ -769,7 +767,7 @@ def handle_message(self, message):
769767 # Don't create users if anonymous isn't allowed to register
770768 create = 1
771769 anonid = self .db .user .lookup ('anonymous' )
772- if not self .db .security .hasPermission ('Create' , 'user' , anonid ):
770+ if not self .db .security .hasPermission ('Create' , anonid , 'user' ):
773771 create = 0
774772
775773 # ok, now figure out who the author is - create a new user if the
You can’t perform that action at this time.
0 commit comments