mirror of
				https://github.com/craigerl/aprsd.git
				synced 2025-10-31 04:40:22 -04:00 
			
		
		
		
	George Carlin profanity filter
This commit is contained in:
		
							parent
							
								
									cf73add2db
								
							
						
					
					
						commit
						3ae7a056b6
					
				| @ -500,6 +500,8 @@ def send_message(tocall, message): | ||||
|     # 67 displays 64 on the ftm400. (+3 {01 suffix) | ||||
|     # feature req: break long ones into two msgs | ||||
|     message = message[:67] | ||||
|     # We all miss George Carlin  | ||||
|     message = re.sub('fuck|shit|cunt|piss|cock|bitch', '****', message) | ||||
|     thread = threading.Thread( | ||||
|         target=send_message_thread, | ||||
|         name="send_message", | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user