aboutsummaryrefslogtreecommitdiffstats
path: root/bin/add_members
diff options
context:
space:
mode:
Diffstat (limited to 'bin/add_members')
-rwxr-xr-xbin/add_members7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/add_members b/bin/add_members
index 03f0af3a..77f11aff 100755
--- a/bin/add_members
+++ b/bin/add_members
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -244,7 +244,10 @@ def main():
realname = mlist.real_name
subject = _('%(realname)s subscription notification')
msg = Message.UserNotification(
- mlist.owner, Utils.get_site_email(), subject, s.getvalue(),
+ mlist.owner,
+ Utils.get_site_email(mlist.host_name),
+ subject,
+ s.getvalue(),
mlist.preferred_language)
msg.send(mlist)