on master help sign in
[fix] remove ip plugin pre_search override - closes #275
a57a011Adam Tauber
searx/plugins/self_ip.py−2
@@ -16,6 +16,4 @@ def pre_search(request, ctx):
16 ip = request.remote_addr
16 ip = request.remote_addr
17 ctx['search'].answers.clear()
17 ctx['search'].answers.clear()
18 ctx['search'].answers.add(ip)
18 ctx['search'].answers.add(ip)
19− # return False prevents exeecution of the original block
20− return False
21 return True
19 return True