diff options
Diffstat (limited to 'Mailman/Cgi')
-rw-r--r-- | Mailman/Cgi/options.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py index 454ac7a8..6841ae64 100644 --- a/Mailman/Cgi/options.py +++ b/Mailman/Cgi/options.py @@ -179,7 +179,8 @@ def main(): forwarded to the list administrator for approval."""), tag='') else: - mlist.ConfirmUnsubscription(user, userlang) + ip = os.environ.get('REMOTE_ADDR') + mlist.ConfirmUnsubscription(user, userlang, remote=ip) doc.addError(_('The confirmation email has been sent.'), tag='') mlist.Save() |