From 3ae7a056b62f751498d653b39d8b68a9aa9d86e3 Mon Sep 17 00:00:00 2001 From: craigerl Date: Sat, 5 Dec 2020 12:50:08 -0800 Subject: [PATCH] George Carlin profanity filter --- aprsd/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aprsd/main.py b/aprsd/main.py index 59ce445..d8c51a1 100644 --- a/aprsd/main.py +++ b/aprsd/main.py @@ -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",