mirror of https://github.com/searxng/searxng.git
[fix] remove ip plugin pre_search override - closes #275
This commit is contained in:
parent
22c4195c89
commit
a57a011e94
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue