From 67b7c8bd7d90f3eed1400bf6540f67bfeb65d4ac Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 12 Feb 2017 16:46:13 -0500 Subject: [PATCH] os_logsearch: fix quick match --- modules/commands/os_logsearch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/os_logsearch.cpp b/modules/commands/os_logsearch.cpp index 59959b482..dfd67a492 100644 --- a/modules/commands/os_logsearch.cpp +++ b/modules/commands/os_logsearch.cpp @@ -113,7 +113,7 @@ class CommandOSLogSearch : public Command else if (wildcard) match = Anope::Match(buf, "*" + search_string + "*"); else - match = buf.find_first_of_ci(search_string) != Anope::string::npos; + match = buf.find_ci(search_string) != Anope::string::npos; if (match) {