mirror of
https://github.com/searxng/searxng.git
synced 2025-02-17 04:25:15 +00:00
[fix] remove ip plugin pre_search override - closes #275
This commit is contained in:
parent
22c4195c89
commit
a57a011e94
1 changed files with 0 additions and 2 deletions
|
@ -16,6 +16,4 @@ def pre_search(request, ctx):
|
||||||
ip = request.remote_addr
|
ip = request.remote_addr
|
||||||
ctx['search'].answers.clear()
|
ctx['search'].answers.clear()
|
||||||
ctx['search'].answers.add(ip)
|
ctx['search'].answers.add(ip)
|
||||||
# return False prevents exeecution of the original block
|
|
||||||
return False
|
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue