mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Allow options:casemapping to remain defined when using m_nationalchars.
This commit is contained in:
parent
2ec7654267
commit
43da9c3232
@ -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");
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user