diff options
Diffstat (limited to 'modules/maillist.py')
| -rw-r--r-- | modules/maillist.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/maillist.py b/modules/maillist.py index bdaa1c6ce..4cd51bdee 100644 --- a/modules/maillist.py +++ b/modules/maillist.py @@ -483,7 +483,8 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, # ... and only then try the regexp acceptable aliases. for recip in recips: for alias in string.split(self.acceptable_aliases, '\n'): - if re.match(string.strip(alias), recip): + stripped = string.strip(alias) + if stripped and re.match(stripped, recip): return 1 return 0 |
