mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36:38 +02:00
script: do not search by license and author in /script search (thanks to Nils Görs)
This commit is contained in:
@@ -952,14 +952,6 @@ script_repo_match_filter (struct t_script_repo *script)
|
||||
&& weechat_strcasestr (script->description, words[i]))
|
||||
match = 1;
|
||||
|
||||
if (!match && script->license
|
||||
&& weechat_strcasestr (script->license, words[i]))
|
||||
match = 1;
|
||||
|
||||
if (!match && script->author
|
||||
&& weechat_strcasestr (script->author, words[i]))
|
||||
match = 1;
|
||||
|
||||
if (!match)
|
||||
{
|
||||
weechat_string_free_split (words);
|
||||
|
||||
Reference in New Issue
Block a user