mirror of
https://github.com/searx/searx
synced 2025-08-30 22:16:19 +00:00
[fix] remove ip plugin pre_search override - closes #275
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user