|  | @@ -35,10 +35,10 @@ def post_search(request, ctx):
 | 
	
		
			
			| 35 | 35 |              ip = x_forwarded_for[0]
 | 
	
		
			
			| 36 | 36 |          else:
 | 
	
		
			
			| 37 | 37 |              ip = request.remote_addr
 | 
	
		
			
			| 38 |  | -        ctx['search'].answers.clear()
 | 
	
		
			
			| 39 |  | -        ctx['search'].answers.add(ip)
 | 
	
		
			
			|  | 38 | +        ctx['search'].result_container.answers.clear()
 | 
	
		
			
			|  | 39 | +        ctx['search'].result_container.answers.add(ip)
 | 
	
		
			
			| 40 | 40 |      elif p.match(ctx['search'].query):
 | 
	
		
			
			| 41 | 41 |          ua = request.user_agent
 | 
	
		
			
			| 42 |  | -        ctx['search'].answers.clear()
 | 
	
		
			
			| 43 |  | -        ctx['search'].answers.add(ua)
 | 
	
		
			
			|  | 42 | +        ctx['search'].result_container.answers.clear()
 | 
	
		
			
			|  | 43 | +        ctx['search'].result_container.answers.add(ua)
 | 
	
		
			
			| 44 | 44 |      return True
 |