From a5833e654dd99fc2513b17100f0f06d50e75b4a9 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 09:50:16 +0000 Subject: 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 --- src/inspircd.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/inspircd.cpp') 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; -- cgit v1.3.1-10-gc9f91