From d546725cb683f010b6090df78a54f6b943efd034 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 18 Aug 2006 15:59:23 +0000 Subject: Move lowermap[] into a pre-initialised const array in hashcomp.h, get rid of InspIRCd::MakeLowertab() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4951 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/wildcard.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/wildcard.cpp') diff --git a/src/wildcard.cpp b/src/wildcard.cpp index 502dc89c3..b0602c82e 100644 --- a/src/wildcard.cpp +++ b/src/wildcard.cpp @@ -19,7 +19,7 @@ using namespace std; #include #include "inspircd_config.h" #include "inspircd.h" - +#include "hashcomp.h" #include "inspstring.h" using irc::sockets::MatchCIDR; @@ -39,7 +39,6 @@ bool match(const char *str, const char *mask) unsigned char *cp, *mp; unsigned char* string = (unsigned char*)str; unsigned char* wild = (unsigned char*)mask; - extern char lowermap[255]; while ((*string) && (*wild != '*')) { -- cgit v1.2.3