diff options
| author | 2008-03-14 15:21:12 +0000 | |
|---|---|---|
| committer | 2008-03-14 15:21:12 +0000 | |
| commit | dce2931f1293b01dcb25b30993c5910c22e1d501 (patch) | |
| tree | 314ae93dd37ad0ac1c4f039bfaf61e2491a4d7b7 /src/configreader.cpp | |
| parent | Recommend that users symlink, not copy the files (diff) | |
Whoops, fix a bug here where the high-bit flags in the config struct for 'allow newlines' etc cause the data to be ignored!
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9072 e03df62e-2008-0410-955e-edbf42e46eb7
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: { |
