From b7d3298446fcc0554a77177a5f7aa565dfd0a981 Mon Sep 17 00:00:00 2001 From: mailman Date: Mon, 18 May 1998 20:52:33 +0000 Subject: .DeleteMember(): Delete the option settings for the user (if any), as well as the rest of the stuff. --- modules/maillist.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/maillist.py b/modules/maillist.py index d0e64c6df..7719005d2 100644 --- a/modules/maillist.py +++ b/modules/maillist.py @@ -1,6 +1,6 @@ "The class representing a mailman maillist. Mixes in many feature classes." -__version__ = "$Revision: 518 $" +__version__ = "$Revision: 524 $" try: import mm_cfg @@ -605,6 +605,8 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, del me.passwords[alias] except KeyError: pass + if me.user_options.has_key(alias): + del me.user_options[alias] try: me.members.remove(alias) kind = "regular" -- cgit v1.2.3-70-g09d2