diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 09:50:16 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 09:50:16 +0000 |
commit | a5833e654dd99fc2513b17100f0f06d50e75b4a9 (patch) | |
tree | 46dd719ddacf849a2e1e3a9bcf5da70a73cb1f39 /src/wildcard.cpp | |
parent | 9ea40ce2f7f7c5d55bf22e4b39e9903509925f1a (diff) |
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/wildcard.cpp')
-rw-r--r-- | src/wildcard.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 != '*')) { |