1
0
mirror of https://github.com/searxng/searxng.git synced 2024-10-02 17:40:18 +02:00

[fix] remove ip plugin pre_search override - closes #275

This commit is contained in:
Adam Tauber 2015-03-16 12:48:53 +01:00
parent 22c4195c89
commit a57a011e94

View File

@ -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