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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user