forked from GitHub/dbot
		
	Fix the long-broken "quote already in db" detection
This commit is contained in:
		
							parent
							
								
									4893b2dd74
								
							
						
					
					
						commit
						982135411e
					
				| @ -158,7 +158,7 @@ var quotes = function(dbot) { | ||||
|                 if(!Object.isArray(quotes[key])) { | ||||
|                     quotes[key] = []; | ||||
|                 } else { | ||||
|                     if (q[2] in quotes[key]) { | ||||
|                     if (quotes[key].include(q[2]) { | ||||
|                         dbot.say(data.channel, 'Quote already in DB. Initiate incineration.'); | ||||
|                         return; | ||||
|                     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Luke Slater
						Luke Slater