From 4b1d87640c7b70abc5e23aca045795aa0499bd52 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 27 Apr 2013 09:01:42 +0200 Subject: =?UTF-8?q?script:=20do=20not=20search=20by=20license=20and=20auth?= =?UTF-8?q?or=20in=20/script=20search=20(thanks=20to=20Nils=20G=C3=B6rs)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/script/script-repo.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/plugins/script/script-repo.c b/src/plugins/script/script-repo.c index 0c5b2e6bc..d74c2f81a 100644 --- a/src/plugins/script/script-repo.c +++ b/src/plugins/script/script-repo.c @@ -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); -- cgit v1.2.3