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/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 6b84ef5b3..403280996 100644 --- a/src/wildcard.cpp +++ b/src/wildcard.cpp @@ -24,8 +24,6 @@ using namespace std; using irc::sockets::MatchCIDR; -extern char lowermap[255]; - // Wed 27 Apr 2005 - Brain // I've taken our our old wildcard routine - // although comprehensive, it was topheavy and very @@ -41,6 +39,7 @@ 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