diff options
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index c5e495c1c..5893528af 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -768,7 +768,7 @@ void ServerConfig::Read(bool bail, userrec* user) if (!Values[Index].validation_function(this, Values[Index].tag, Values[Index].value, vi)) throw CoreException("One or more values in your configuration file failed to validate. Please see your ircd.log for more information."); - switch (Values[Index].datatype) + switch (dt) { case DT_CHARPTR: { |
