summaryrefslogtreecommitdiff
path: root/modules/commands/os_logsearch.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-02-12 16:46:13 -0500
committerAdam <Adam@anope.org>2017-02-12 16:46:13 -0500
commit67b7c8bd7d90f3eed1400bf6540f67bfeb65d4ac (patch)
treec62df3882afa684dbccc2b55f09bdb81ae6fee73 /modules/commands/os_logsearch.cpp
parent21486e2c81d55abdcd7049c027043647db9d1991 (diff)
os_logsearch: fix quick match
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)
{