summaryrefslogtreecommitdiff
path: root/modules/mm_security.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mm_security.py')
-rw-r--r--modules/mm_security.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mm_security.py b/modules/mm_security.py
index 21b3b8263..d516cd06f 100644
--- a/modules/mm_security.py
+++ b/modules/mm_security.py
@@ -1,6 +1,6 @@
"""Handle passwords and sanitize approved messages."""
-__version__ = "$Revision: 399 $"
+__version__ = "$Revision: 444 $"
import crypt, types, string, os
@@ -73,5 +73,5 @@ class SecurityManager:
p = msg.getheader('approved')
if p == None:
return 0
- msg.delitem('approved') # Mustn't deliver this line!!
+ del msg['approved'] # Mustn't deliver this line!!
return self.ValidAdminPassword(p)