1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 09:36:38 +02:00

(Unworking) stuff for conversion

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1415 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-10-04 00:27:48 +00:00
parent 59671baf4c
commit aa3bfb86e0
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -76,7 +76,7 @@
/*
* [REQUIRED] IRCd Config
*
* This section is used to set up Anope to connect to your IRCd.
* This section is used to set up Anope to connect to your IRC network.
*/
uplink
{
+3
View File
@@ -498,6 +498,9 @@ int ServerConfig::Read(bool bail)
// These tags can occur ONCE or not at all
InitialConfig Values[] = {
{"uplink", "type", "", new ValueContainerChar(IRCDModule), DT_CHARPTR, ValidateNotEmpty},
{"uplink", "host", "", new ValueContainerChar(RemoteServer), DT_CHARPTR, ValidateHostname},
{"uplink", "port", "", new ValueContainerInt(&RemotePort), DT_CHARPTR, ValidatePort},
{"uplink", "password", "", new ValueContainerChar(RemotePassword), DT_CHARPTR, ValidateNoSpaces},
{NULL, NULL, NULL, NULL, DT_NOTHING, NoValidation}
};
/* These tags can occur multiple times, and therefore they have special code to read them