summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 8daa1c19f..f6c719051 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -149,18 +149,6 @@ bool ServerConfig::CheckOnce(char* tag, bool bail, userrec* user)
return true;
}
-typedef bool (*Validator)(const char*, const char*, void*);
-
-enum ConfigDataType { DT_NOTHING, DT_INTEGER, DT_CHARPTR, DT_BOOLEAN };
-
-struct InitialConfig {
- char* tag;
- char* value;
- void* val;
- int datatype;
- Validator validation_function;
-};
-
bool NoValidation(const char* tag, const char* value, void* data)
{
log(DEBUG,"No validation for <%s:%s>",tag,value);