X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_nationalchars.cpp;h=7ee21b872b6016fd8d5715d45689a7be7e9a53c2;hb=ffacccbb6fe800950af8b5914cbf5ebd3ecad99c;hp=9a875fca2295f3b76143af73a82652d11cea4d32;hpb=aa692dc1039b63deef7886e914ec499abe7facaf;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_nationalchars.cpp b/src/modules/m_nationalchars.cpp index 9a875fca2..7ee21b872 100644 --- a/src/modules/m_nationalchars.cpp +++ b/src/modules/m_nationalchars.cpp @@ -274,7 +274,7 @@ class ModuleNationalChars : public Module { ConfigTag* tag = ServerInstance->Config->ConfValue("nationalchars"); charset = tag->getString("file"); - std::string casemapping = tag->getString("casemapping", FileSystem::GetFileName(charset)); + std::string casemapping = tag->getString("casemapping", FileSystem::GetFileName(charset), 1); if (casemapping.find(' ') != std::string::npos) throw ModuleException(" must not contain any spaces!"); ServerInstance->Config->CaseMapping = casemapping; @@ -323,7 +323,7 @@ class ModuleNationalChars : public Module Version GetVersion() CXX11_OVERRIDE { - return Version("Provides an ability to have non-RFC1459 nicks & support for national CASEMAPPING", VF_VENDOR | VF_COMMON); + return Version("Allows the server administrator to define what characters are allowed in nicknames and channel names and how those characters should be compared in a case insensitive way.", VF_VENDOR | VF_COMMON); } /*make an array to check against it 8bit characters a bit faster. Whether allowed or uppercase (for your needs).*/