diff options
| author | 2013-05-15 12:33:47 -0700 | |
|---|---|---|
| committer | 2013-05-15 12:33:47 -0700 | |
| commit | e586aaab7c4f7b03514c83451d73b73f55dc6998 (patch) | |
| tree | 18f4370778cc79d2f21a4308dafbb29a77cfa213 /src/modules/m_sslinfo.cpp | |
| parent | Merge pull request #523 from SaberUK/master+server-notice (diff) | |
| parent | Replace some C-isms with C++-isms. (diff) | |
Merge pull request #531 from SaberUK/master+snprintf-removal
Replace some C-isms with C++-isms.
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
| -rw-r--r-- | src/modules/m_sslinfo.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index 7c8cc12f2..f0f4fc155 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -158,20 +158,6 @@ class ModuleSSLInfo : public Module } } - bool OneOfMatches(const char* host, const char* ip, const char* hostlist) - { - std::stringstream hl(hostlist); - std::string xhost; - while (hl >> xhost) - { - if (InspIRCd::Match(host, xhost, ascii_case_insensitive_map) || InspIRCd::MatchCIDR(ip, xhost, ascii_case_insensitive_map)) - { - return true; - } - } - return false; - } - ModResult OnPreCommand(std::string &command, std::vector<std::string> ¶meters, LocalUser *user, bool validated, const std::string &original_line) { if ((command == "OPER") && (validated)) |
