summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-08-14 12:21:39 -0400
committerAdam <Adam@anope.org>2010-08-14 12:21:39 -0400
commitd1b5797f5d742fdd18a8fd6ae31e20992182155c (patch)
tree655e99a1ebc1693d962b5722b69c9c0c35fa3fcc /src/config.c
parenta2e9e45e3778c7a29a30fbe3523026df5a5b8304 (diff)
Added a config option that allows nix users to fork when sending mail, can drastically speed up mail sending on some boxes
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 9ded27d89..793b608e6 100644
--- a/src/config.c
+++ b/src/config.c
@@ -127,6 +127,7 @@ char *SendFrom;
int RestrictMail;
int MailDelay;
int DontQuoteAddresses;
+int ForkForMail;
static int NSDefNone;
char *NSGuestNickPrefix;
@@ -429,6 +430,7 @@ Directive directives[] = {
{"DisableRaw", {{PARAM_SET, PARAM_RELOAD, &DisableRaw}}},
{"DontQuoteAddresses",
{{PARAM_SET, PARAM_RELOAD, &DontQuoteAddresses}}},
+ {"ForkForMail", {{PARAM_SET, PARAM_RELOAD, &ForkForMail}}},
{"DumpCore", {{PARAM_SET, 0, &DumpCore}}},
{"DefConLevel", {{PARAM_INT, PARAM_RELOAD, &DefConLevel}}},
{"DefCon1", {{PARAM_INT, PARAM_RELOAD, &DefCon1}}},