summaryrefslogtreecommitdiff
path: root/modules/commands/os_logsearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/os_logsearch.cpp')
-rw-r--r--modules/commands/os_logsearch.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{