|
1 | 1 | #!/bin/sh |
2 | 2 |
|
3 | 3 | if [ -z "$ANOPE_MAIL_REGISTRATION_MESSAGE" ]; then |
4 | | - ANOPE_MAIL_REGISTRATION_MESSAGE="Hi, |
5 | | -
|
6 | | - You have requested to register the nickname {nick} on {network}. |
7 | | - Please type \" /msg NickServ CONFIRM REGISTER {code} \" to complete registration. |
8 | | -
|
9 | | - If you don't know why this mail was sent to you, please ignore it silently. |
10 | | -
|
11 | | - {network} administrators." |
| 4 | + ANOPE_MAIL_REGISTRATION_MESSAGE="Hi,\n\nYou have requested to register the nickname {nick} on {network}.\nPlease type \\\" /msg NickServ CONFIRM REGISTER {code} \\\" to complete registration.\n\nIf you don't know why this mail was sent to you, please ignore it silently.\n\n{network} administrators." |
12 | 5 | fi |
13 | 6 |
|
14 | 7 | if [ -z "$ANOPE_MAIL_RESET_MESSAGE" ]; then |
15 | | - ANOPE_MAIL_RESET_MESSAGE="Hi, |
16 | | -
|
17 | | - You have requested to have the password for {nick} reset. |
18 | | - To reset your password, type \" /msg NickServ CONFIRM RESETPASS {nick} {code} \" |
19 | | -
|
20 | | - If you don't know why this mail was sent to you, please ignore it silently. |
21 | | -
|
22 | | - {network} administrators." |
| 8 | + ANOPE_MAIL_RESET_MESSAGE="Hi,\n\nYou have requested to have the password for {nick} reset.\nTo reset your password, type \\\" /msg NickServ CONFIRM RESETPASS {nick} {code} \\\"\n\nIf you don't know why this mail was sent to you, please ignore it silently.\n\n{network} administrators." |
23 | 9 | fi |
24 | 10 |
|
25 | 11 | if [ -z "$ANOPE_MAIL_EMAILCHANGE_MESSAGE" ]; then |
26 | | - ANOPE_MAIL_EMAILCHANGE_MESSAGE="Hi, |
27 | | -
|
28 | | - You have requested to change your email address from {old_email} to {new_email}. |
29 | | - Please type \" /msg NickServ CONFIRM EMAIL {code} \" to confirm this change. |
30 | | -
|
31 | | - If you don't know why this mail was sent to you, please ignore it silently. |
32 | | -
|
33 | | - {network} administrators." |
| 12 | + ANOPE_MAIL_EMAILCHANGE_MESSAGE="Hi,\n\nYou have requested to change your email address from {old_email} to {new_email}.\nPlease type \\\" /msg NickServ CONFIRM EMAIL {code} \\\" to confirm this change.\n\nIf you don't know why this mail was sent to you, please ignore it silently.\n\n{network} administrators." |
34 | 13 | fi |
35 | 14 |
|
36 | 15 | if [ -z "$ANOPE_MAIL_MEMO_MESSAGE" ]; then |
37 | | - ANOPE_MAIL_MEMO_MESSAGE="Hi {receiver}, |
38 | | -
|
39 | | - You've just received a new memo from {sender}. This is memo number {number}. |
40 | | -
|
41 | | - Memo text: |
42 | | -
|
43 | | - {text}" |
| 16 | + ANOPE_MAIL_MEMO_MESSAGE="Hi {receiver},\n\nYou've just received a new memo from {sender}. This is memo number {number}.\n\nMemo text:\n\n{text}" |
44 | 17 | fi |
45 | 18 |
|
46 | 19 | cat <<EOF |
|
0 commit comments