summaryrefslogtreecommitdiff
path: root/searx/plugins
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-03-16 12:48:53 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-03-16 12:48:53 +0100
commita57a011e9491d68db511d611921f4b02a3a5974d (patch)
tree9570e54294c7bbce26540007c87b92387adb19f4 /searx/plugins
parent22c4195c89d99b90e4b1885aaa9cc1323ec8ea4f (diff)
downloadsearxng-a57a011e9491d68db511d611921f4b02a3a5974d.tar.gz
searxng-a57a011e9491d68db511d611921f4b02a3a5974d.zip
[fix] remove ip plugin pre_search override - closes #275
Diffstat (limited to 'searx/plugins')
-rw-r--r--searx/plugins/self_ip.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/plugins/self_ip.py b/searx/plugins/self_ip.py
index 0353be79a..31c80f91e 100644
--- a/searx/plugins/self_ip.py
+++ b/searx/plugins/self_ip.py
@@ -16,6 +16,4 @@ def pre_search(request, ctx):
ip = request.remote_addr
ctx['search'].answers.clear()
ctx['search'].answers.add(ip)
- # return False prevents exeecution of the original block
- return False
return True