summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCronus <cronus@nite-serv.com>2012-08-08 04:28:33 -0400
committerAdam <Adam@anope.org>2012-08-08 04:28:33 -0400
commitb894a569c93035c6e0e315afb77d299bd3824eb9 (patch)
tree2c5b2223b77f25de2bbe606b42c6f754004e53db
parent48022c3ddfaa162f546c8fd7235586a2c7f36fc8 (diff)
Update pid and motd file paths
-rw-r--r--data/example.conf8
-rw-r--r--data/modules.example.conf2
-rw-r--r--src/config.cpp4
3 files changed, 7 insertions, 7 deletions
diff --git a/data/example.conf b/data/example.conf
index 7521256e8..93fe95af9 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 executable. If not given, defaults to "services.pid".
+ * services root directory. If not given, defaults to "services.pid".
*/
- pid = "services.pid"
+ pid = "data/services.pid"
/*
* The filename containing the Message of the Day. The path is relative to the
- * services executable. If not given, defaults to "services.motd".
+ * services root directory. If not given, defaults to "services.motd".
*/
- motd = "services.motd"
+ motd = "data/services.motd"
}
/*
diff --git a/data/modules.example.conf b/data/modules.example.conf
index bbb7f9651..2a06b1a99 100644
--- a/data/modules.example.conf
+++ b/data/modules.example.conf
@@ -226,7 +226,7 @@ mysql
* m_proxyscan
*
* This module allows you to scan connecting clients for open proxies.
- * Note that using this will allow users to get the IP or your services.
+ * Note that using this will allow users to get the IP of your services.
*
* Currently the two supported proxy types are HTTP and SOCKS5.
*
diff --git a/src/config.cpp b/src/config.cpp
index 2c0e264f2..2be666a82 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -1153,8 +1153,8 @@ ConfigItems::ConfigItems(ServerConfig *conf)
{"serverinfo", "description", "", new ValueContainerString(&conf->ServerDesc), DT_STRING | DT_NORELOAD, ValidateNotEmpty},
{"serverinfo", "localhost", "", new ValueContainerString(&conf->LocalHost), DT_HOSTNAME | DT_NORELOAD, NoValidation},
{"serverinfo", "id", "", new ValueContainerString(&conf->Numeric), DT_NOSPACES | DT_NORELOAD, NoValidation},
- {"serverinfo", "pid", "services.pid", new ValueContainerString(&conf->PIDFilename), DT_STRING | DT_NORELOAD, ValidateNotEmpty},
- {"serverinfo", "motd", "services.motd", new ValueContainerString(&conf->MOTDFilename), DT_STRING, ValidateNotEmpty},
+ {"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},
{"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},