diff options
Diffstat (limited to 'src/modules/extra/m_ssl_oper_cert.cpp')
-rw-r--r-- | src/modules/extra/m_ssl_oper_cert.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/extra/m_ssl_oper_cert.cpp b/src/modules/extra/m_ssl_oper_cert.cpp index 817854fa8..794aabcd2 100644 --- a/src/modules/extra/m_ssl_oper_cert.cpp +++ b/src/modules/extra/m_ssl_oper_cert.cpp @@ -20,7 +20,6 @@ #include "channels.h" #include "modules.h" #include "transport.h" -#include "wildcard.h" /** Handle /FINGERPRINT */ @@ -104,7 +103,7 @@ class ModuleOperSSLCert : public Module std::string xhost; while (hl >> xhost) { - if (match(host, xhost) || match(ip, xhost, true)) + if (InspIRCd::Match(host, xhost) || InspIRCd::MatchCIDR(ip, xhost)) { return true; } |