summaryrefslogtreecommitdiff
path: root/src/wildcard.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-18 15:59:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-18 15:59:23 +0000
commitd546725cb683f010b6090df78a54f6b943efd034 (patch)
tree53dc7e579f105c1d3d6a3bdef509b9a9ee29cffc /src/wildcard.cpp
parent71b73c76bc0fb46a982a5d1611aa24e9b678b03c (diff)
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
Diffstat (limited to 'src/wildcard.cpp')
-rw-r--r--src/wildcard.cpp3
1 files changed, 1 insertions, 2 deletions
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 <string>
#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 != '*'))
{