summaryrefslogtreecommitdiff
path: root/mailman/mklist.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mailman/mklist.inc')
-rw-r--r--mailman/mklist.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/mailman/mklist.inc b/mailman/mklist.inc
index 12d319b..a392dd1 100644
--- a/mailman/mklist.inc
+++ b/mailman/mklist.inc
@@ -30,11 +30,12 @@ mklist() {
owner="${2:-$OWNER}"
emailhost="${3:-$LISTDOMAIN}"
urlhost="${4:-${LISTWEBDOMAIN:-$emailhost}}"
+ moderators="${5:-${MODERATORS}}"
if ! echo "$existinglists" | grep -q "^$list\$"; then
newlist -l "$lang"${urlhost:+ -u "$urlhost"}${emailhost:+ -e "$emailhost"} -q "$list" "$owner" "$(mkpw)"
fi
- LISTNAME="$list_anycase" LISTDESC="$desc" SENDERS="$senders" LISTOWNER="$owner" LISTHOST="$emailhost" "$sharedir/mklist.pl" "$skeldir/$type.$lang.py" > "$list.py"
+ LISTNAME="$list_anycase" LISTDESC="$desc" SENDERS="$senders" LISTOWNER="$owner" LISTHOST="$emailhost" MODERATORS="$moderators" "$sharedir/mklist.pl" "$skeldir/$type.$lang.py" > "$list.py"
config_list -i "$cfgdir/$list.py" "$list"
config_list -o "$cfgdir/$list.py" "$list"
}