1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 11:56:37 +02:00

os_logsearch: fix quick match

This commit is contained in:
Adam
2017-02-12 16:46:13 -05:00
parent 21486e2c81
commit 67b7c8bd7d
+1 -1
View File
@@ -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)
{