diff options
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 |