From aa3bfb86e01bc245c758db65263ece42cf973472 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Sat, 4 Oct 2008 00:27:48 +0000 Subject: (Unworking) stuff for conversion git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1415 5417fbe8-f217-4b02-8779-1006273d7864 --- src/config.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/config.c b/src/config.c index bf9ac78f5..2490a2c42 100644 --- a/src/config.c +++ b/src/config.c @@ -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 -- cgit