aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi/create.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Mailman/Cgi/create.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Mailman/Cgi/create.py b/Mailman/Cgi/create.py
index dd862208..cac5a2e7 100644
--- a/Mailman/Cgi/create.py
+++ b/Mailman/Cgi/create.py
@@ -250,10 +250,9 @@ def process_request(doc, cgidata):
'requestaddr' : mlist.GetRequestEmail(),
'siteowner' : siteowner,
}, mlist=mlist)
- msg = Message.UserNotification(
- owner, siteowner,
+ msg = Message.OwnerNotification(mlist,
_('Your new mailing list: %(listname)s'),
- text, mlist.preferred_language)
+ text=text, tomoderators=0)
msg.send(mlist)
# Success!