From dce2931f1293b01dcb25b30993c5910c22e1d501 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 14 Mar 2008 15:21:12 +0000 Subject: 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 --- src/configreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configreader.cpp') 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: { -- cgit v1.3.1-10-gc9f91