diff options
| author | 2006-08-11 09:50:16 +0000 | |
|---|---|---|
| committer | 2006-08-11 09:50:16 +0000 | |
| commit | a5833e654dd99fc2513b17100f0f06d50e75b4a9 (patch) | |
| tree | 46dd719ddacf849a2e1e3a9bcf5da70a73cb1f39 /src/inspircd.cpp | |
| parent | Removal of an extern (diff) | |
| download | inspircd++-a5833e654dd99fc2513b17100f0f06d50e75b4a9.tar.gz inspircd++-a5833e654dd99fc2513b17100f0f06d50e75b4a9.tar.bz2 inspircd++-a5833e654dd99fc2513b17100f0f06d50e75b4a9.zip | |
Move whowas into InspIRCd
Tidy up lowermap extern (for now, we cant do much but have this as extern)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4876 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 0b56dad98..1e2f16e07 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -192,20 +192,6 @@ std::string InspIRCd::GetRevision() return REVISION; } -void InspIRCd::MakeLowerMap() -{ - // initialize the lowercase mapping table - for (unsigned int cn = 0; cn < 256; cn++) - lowermap[cn] = cn; - // lowercase the uppercase chars - for (unsigned int cn = 65; cn < 91; cn++) - lowermap[cn] = tolower(cn); - // now replace the specific chars for scandanavian comparison - lowermap[(unsigned)'['] = '{'; - lowermap[(unsigned)']'] = '}'; - lowermap[(unsigned)'\\'] = '|'; -} - InspIRCd::InspIRCd(int argc, char** argv) : ModCount(-1) { bool SEGVHandler = false; |
