aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi/subscribe.py
diff options
context:
space:
mode:
authorbwarsaw <>2003-04-07 22:51:20 +0000
committerbwarsaw <>2003-04-07 22:51:20 +0000
commit01015334f5c849a0ec891bf8c87137f350473c81 (patch)
treee5a6816d28b322c66b8e40f4220b70a8035d0759 /Mailman/Cgi/subscribe.py
parent409c593b01945392ee1184ad44d597897e7b5cc4 (diff)
downloadmailman2-01015334f5c849a0ec891bf8c87137f350473c81.tar.gz
mailman2-01015334f5c849a0ec891bf8c87137f350473c81.tar.xz
mailman2-01015334f5c849a0ec891bf8c87137f350473c81.zip
Backporting from trunk.
Diffstat (limited to '')
-rw-r--r--Mailman/Cgi/subscribe.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Mailman/Cgi/subscribe.py b/Mailman/Cgi/subscribe.py
index d0a477d7..8ae9564f 100644
--- a/Mailman/Cgi/subscribe.py
+++ b/Mailman/Cgi/subscribe.py
@@ -117,12 +117,10 @@ def process_form(mlist, doc, cgidata, lang):
remote = os.environ.get('REMOTE_HOST',
os.environ.get('REMOTE_ADDR',
'unidentified origin'))
-
# Was an attempt made to subscribe the list to itself?
if email == mlist.GetListEmail():
syslog('mischief', 'Attempt to self subscribe %s: %s', email, remote)
results.append(_('You may not subscribe a list to itself!'))
-
# If the user did not supply a password, generate one for him
password = cgidata.getvalue('pw')
confirmed = cgidata.getvalue('pw-conf')