summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby <robby@chat.be>2012-08-08 17:09:34 -0400
committerAdam <Adam@anope.org>2012-08-08 17:09:34 -0400
commitf7bf2fa9604d93f36a0025d9890d174ad2576a6a (patch)
treedc554ea6c528579c05bf55feb95649656af82a1c
parentb894a569c93035c6e0e315afb77d299bd3824eb9 (diff)
Put motd in conf/ not data/ and fixed the default values in the config
-rw-r--r--data/example.conf6
-rw-r--r--src/config.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/data/example.conf b/data/example.conf
index 93fe95af9..0213d61d9 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -205,15 +205,15 @@ serverinfo
/*
* The filename containing the Services process ID. The path is relative to the
- * services root directory. If not given, defaults to "services.pid".
+ * services root directory. If not given, defaults to "data/services.pid".
*/
pid = "data/services.pid"
/*
* The filename containing the Message of the Day. The path is relative to the
- * services root directory. If not given, defaults to "services.motd".
+ * services root directory. If not given, defaults to "conf/services.motd".
*/
- motd = "data/services.motd"
+ motd = "conf/services.motd"
}
/*
diff --git a/src/config.cpp b/src/config.cpp
index 2be666a82..0ec4fb34e 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -1154,7 +1154,7 @@ ConfigItems::ConfigItems(ServerConfig *conf)
{"serverinfo", "localhost", "", new ValueContainerString(&conf->LocalHost), DT_HOSTNAME | DT_NORELOAD, NoValidation},
{"serverinfo", "id", "", new ValueContainerString(&conf->Numeric), DT_NOSPACES | DT_NORELOAD, NoValidation},
{"serverinfo", "pid", "data/services.pid", new ValueContainerString(&conf->PIDFilename), DT_STRING | DT_NORELOAD, ValidateNotEmpty},
- {"serverinfo", "motd", "data/services.motd", new ValueContainerString(&conf->MOTDFilename), DT_STRING, ValidateNotEmpty},
+ {"serverinfo", "motd", "conf/services.motd", new ValueContainerString(&conf->MOTDFilename), DT_STRING, ValidateNotEmpty},
{"networkinfo", "networkname", "", new ValueContainerString(&conf->NetworkName), DT_STRING, ValidateNotEmpty},
{"networkinfo", "nicklen", "31", new ValueContainerUInt(&conf->NickLen), DT_UINTEGER | DT_NORELOAD, ValidateNickLen},
{"networkinfo", "userlen", "10", new ValueContainerUInt(&conf->UserLen), DT_UINTEGER | DT_NORELOAD, NoValidation},