summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-03 21:48:48 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-03 21:48:48 +0000
commit6e4ea983767f5868591fe1f852bb571a699b684b (patch)
treeceb041f49b1db427c12bf9620710a65b939b9818
parent2e7304b1707701128c8d331300125b4781f08cbf (diff)
Add <server:sid>, since nothing seems to set it.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1519 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--data/example_new.conf6
-rw-r--r--src/config.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/data/example_new.conf b/data/example_new.conf
index 636b2a3c8..8e0f1601f 100644
--- a/data/example_new.conf
+++ b/data/example_new.conf
@@ -117,6 +117,12 @@ uplink
* Refer to your IRCd documentation for more information on link blocks.
*/
password = "mypassword"
+
+ /*
+ * What server ID to use for this connection?
+ * NOTE: This should *only* be used for TS6/P10 IRCds.
+ */
+ sid = 00A
}
/*
diff --git a/src/config.c b/src/config.c
index 87bdfce24..a9a0b1d34 100644
--- a/src/config.c
+++ b/src/config.c
@@ -601,6 +601,7 @@ int ServerConfig::Read(bool bail)
{"uplink", "host", "", new ValueContainerChar(&RemoteServer), DT_HOSTNAME | DT_NORELOAD, ValidateNotEmpty},
{"uplink", "port", "0", new ValueContainerInt(&RemotePort), DT_INTEGER | DT_NORELOAD, ValidatePort},
{"uplink", "password", "", new ValueContainerChar(&RemotePassword), DT_NOSPACES | DT_NORELOAD, ValidateNotEmpty},
+ {"uplink", "sid", "", new ValueContainerChar(&TS6SID), DT_CHARPTR | DT_NORELOAD, NoValidation},
{"nickserv", "nick", "NickServ", new ValueContainerChar(&s_NickServ), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty},
{"nickserv", "description", "Nickname Registration Service", new ValueContainerChar(&desc_NickServ), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty},
{"nickserv", "database", "nick.db", new ValueContainerChar(&NickDBName), DT_CHARPTR, ValidateNotEmpty},