diff options
author | Adam <Adam@anope.org> | 2011-08-10 05:05:09 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-10 05:05:09 -0400 |
commit | 697bc8d8e8849445da46e18a6cd9681a41b49195 (patch) | |
tree | 4fda8a5c1cf2c76beaee01deccf3b26368a45852 | |
parent | 4bdc9824a00f2a93ff6d75fae97b386938f648dc (diff) |
Added a services.host define to easily change every clients hostname
-rw-r--r-- | data/botserv.example.conf | 2 | ||||
-rw-r--r-- | data/chanserv.example.conf | 2 | ||||
-rw-r--r-- | data/example.conf | 10 | ||||
-rw-r--r-- | data/global.example.conf | 2 | ||||
-rw-r--r-- | data/hostserv.example.conf | 2 | ||||
-rw-r--r-- | data/memoserv.example.conf | 2 | ||||
-rw-r--r-- | data/nickserv.example.conf | 2 | ||||
-rw-r--r-- | data/operserv.example.conf | 2 |
8 files changed, 17 insertions, 7 deletions
diff --git a/data/botserv.example.conf b/data/botserv.example.conf index 81b08d66d..0c763cfea 100644 --- a/data/botserv.example.conf +++ b/data/botserv.example.conf @@ -20,7 +20,7 @@ service /* * The hostname of the BotServ client. */ - host = "localhost.net" + host = "services.host" /* * The realname of the BotServ client. diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf index 6c0cc2b37..889f1d3e8 100644 --- a/data/chanserv.example.conf +++ b/data/chanserv.example.conf @@ -20,7 +20,7 @@ service /* * The hostname of the ChanServ client. */ - host = "localhost.net" + host = "services.host" /* * The realname of the ChanServ client. diff --git a/data/example.conf b/data/example.conf index 654df479e..62ce6b127 100644 --- a/data/example.conf +++ b/data/example.conf @@ -89,6 +89,16 @@ */ /* + * The services.host define is used in multiple different locations throughout the + * configuration for services clients hostnames. + */ +define +{ + name = "services.host" + value = "services.localhost.net" +} + +/* * [OPTIONAL] Additional Includes * * You can include additional configuration files here. diff --git a/data/global.example.conf b/data/global.example.conf index 5a3566e4e..d60144056 100644 --- a/data/global.example.conf +++ b/data/global.example.conf @@ -20,7 +20,7 @@ service /* * The hostname of the Global client. */ - host = "localhost.net" + host = "services.host" /* * The realname of the Global client. diff --git a/data/hostserv.example.conf b/data/hostserv.example.conf index 0d04d764e..73c12f1c8 100644 --- a/data/hostserv.example.conf +++ b/data/hostserv.example.conf @@ -20,7 +20,7 @@ service /* * The hostname of the HostServ client. */ - host = "localhost.net" + host = "services.host" /* * The realname of the HostServ client. diff --git a/data/memoserv.example.conf b/data/memoserv.example.conf index 2ce15b5fe..af52fa5b2 100644 --- a/data/memoserv.example.conf +++ b/data/memoserv.example.conf @@ -20,7 +20,7 @@ service /* * The hostname of the MemoServ client. */ - host = "localhost.net" + host = "services.host" /* * The realname of the MemoServ client. diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf index 5f9ff769d..ba5d5225f 100644 --- a/data/nickserv.example.conf +++ b/data/nickserv.example.conf @@ -20,7 +20,7 @@ service /* * The hostname of the NickServ client. */ - host = "localhost.net" + host = "services.host" /* * The realname of the NickServ client. diff --git a/data/operserv.example.conf b/data/operserv.example.conf index 8cdf0c031..3779ea54a 100644 --- a/data/operserv.example.conf +++ b/data/operserv.example.conf @@ -20,7 +20,7 @@ service /* * The hostname of the OperServ client. */ - host = "localhost.net" + host = "services.host" /* * The realname of the OperServ client. |