diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 15:21:06 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 15:21:06 +0000 |
commit | f92bf30f15b8f4d287abe3ba9e600cb832fa4e7e (patch) | |
tree | 8862fc0da6c5dca404c226e473503c8b48634572 /src | |
parent | b10305ef3b568a43541213b3ab102f85695d7d37 (diff) |
Fix compile error.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2060 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/wildcard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wildcard.cpp b/src/wildcard.cpp index f2e9d5e9f..65916d038 100644 --- a/src/wildcard.cpp +++ b/src/wildcard.cpp @@ -75,7 +75,7 @@ static bool match_internal(const unsigned char *str, const unsigned char *mask, return !*wild;
}
-CoreExport bool Anope::Match(const std::string &str, const std::string &mask, bool case_sensitive = false)
+CoreExport bool Anope::Match(const std::string &str, const std::string &mask, bool case_sensitive)
{
- return match_internal(str.c_str(), mask.c_str(), case_sensitive);
+ return match_internal((const unsigned char *)str.c_str(), (const unsigned char *)mask.c_str(), case_sensitive);
}
|