diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-04-27 09:01:42 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-04-27 09:01:42 +0200 |
commit | 4b1d87640c7b70abc5e23aca045795aa0499bd52 (patch) | |
tree | 5ffddded6f2e24a180178929b642bdb52dd4b279 /src | |
parent | bdbe7e0c376ce783250656e4ec1c50f828676726 (diff) | |
download | weechat-4b1d87640c7b70abc5e23aca045795aa0499bd52.zip |
script: do not search by license and author in /script search (thanks to Nils Görs)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/script/script-repo.c | 8 |
1 files changed, 0 insertions, 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); |