mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-10-31 06:37:35 +01:00 
			
		
		
		
	modules/wiktionary.pl: show first unique entry instead of last
This commit is contained in:
		
							parent
							
								
									a168ee0474
								
							
						
					
					
						commit
						2b75863ebb
					
				
							
								
								
									
										2
									
								
								modules/wiktionary.pl
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								modules/wiktionary.pl
									
									
									
									
										vendored
									
									
								
							| @ -184,7 +184,7 @@ if ($unique) { | ||||
|     foreach my $result (@results) { | ||||
|         $i++; | ||||
|         next if not $result or $result eq 'N/A'; | ||||
|         $uniq{$result} = $i; | ||||
|         $uniq{$result} = $i unless exists $uniq{$result}; | ||||
|     } | ||||
| 
 | ||||
|     if (not keys %uniq) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Pragmatic Software
						Pragmatic Software