diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-04 05:21:14 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-04 05:21:14 +0000 |
commit | d8a1535dd8b24c8c267c1f29f2385055939e8cab (patch) | |
tree | a0ae97b050b7561bad88c09bff33cd50d2c180ab /src/config.c | |
parent | aa3bfb86e01bc245c758db65263ece42cf973472 (diff) |
Fix build in config.c
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1416 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.c b/src/config.c index 2490a2c42..68fb17308 100644 --- a/src/config.c +++ b/src/config.c @@ -498,9 +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}, + {"uplink", "host", "", new ValueContainerChar(RemoteServer), DT_HOSTNAME, ValidateNotEmpty}, + {"uplink", "port", "", new ValueContainerInt(&RemotePort), DT_INTEGER, ValidatePort}, + {"uplink", "password", "", new ValueContainerChar(RemotePassword), DT_NOSPACES, ValidateNotEmpty}, {NULL, NULL, NULL, NULL, DT_NOTHING, NoValidation} }; /* These tags can occur multiple times, and therefore they have special code to read them |