X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fconfigreader.cpp;h=2a1da8fd8fbb23dac1c699c39a8d3968f5a64692;hb=9ad873886e518bf3621a88e8c48607ab79020c0a;hp=782a80080aad8e9e83cc4e741ce557c30733ad01;hpb=586abc72dab240bc9e4d6bfd60a53a26f0811422;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/configreader.cpp b/src/configreader.cpp index 782a80080..2a1da8fd8 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -368,7 +368,8 @@ void ServerConfig::Fill() throw CoreException("You must restart to change the server id"); std::string casemapping = options->getString("casemapping"); - if (!casemapping.empty() && casemapping != CaseMapping) + // Ignore this value if CaseMapping is set to something the core doesn't provide (i.e., m_nationalchars). + if (!casemapping.empty() && casemapping != CaseMapping && (CaseMapping == "ascii" || CaseMapping == "rfc1459")) throw CoreException("You must restart to change the server casemapping"); }