summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-04 00:27:48 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-04 00:27:48 +0000
commitaa3bfb86e01bc245c758db65263ece42cf973472 (patch)
tree02a16760553ad83463cd384cd2b2398e848271d9 /src
parent59671baf4c878547cca7b9ad9323308d5629aaa5 (diff)
(Unworking) stuff for conversion
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1415 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/config.c3
1 files changed, 3 insertions, 0 deletions
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