1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 04:26:39 +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
+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