X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_codepage.cpp;h=7a20e6e52dc6f695597f7d6e897354d96762e225;hb=d38595e7e14e7509e744d33df657d50d00cc201f;hp=5858acd977bde4802e72a86fe633afe8e5aa6f59;hpb=aa692dc1039b63deef7886e914ec499abe7facaf;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_codepage.cpp b/src/modules/m_codepage.cpp index 5858acd97..7a20e6e52 100644 --- a/src/modules/m_codepage.cpp +++ b/src/modules/m_codepage.cpp @@ -133,7 +133,7 @@ class ModuleCodepage unsigned char begin = tag->getUInt("begin", tag->getUInt("index", 0), 1, UCHAR_MAX); if (!begin) throw ModuleException(" tag without index or begin specified at " + tag->getTagLocation()); - + unsigned char end = tag->getUInt("end", begin, 1, UCHAR_MAX); if (begin > end) throw ModuleException(" must be lower than at " + tag->getTagLocation()); @@ -214,7 +214,7 @@ class ModuleCodepage if (casemap[i] != i) linkdata << static_cast(i) << casemap[i] << ','; - return Version("Provides support for custom 8-bit codepages", VF_COMMON | VF_VENDOR, linkdata.str()); + return Version("Allows the server administrator to define what characters are allowed in nicknames and how characters should be compared in a case insensitive way.", VF_COMMON | VF_VENDOR, linkdata.str()); } }; MODULE_INIT(ModuleCodepage)