mirror of
https://github.com/craigerl/aprsd.git
synced 2025-06-25 05:25:21 -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)
|
# 67 displays 64 on the ftm400. (+3 {01 suffix)
|
||||||
# feature req: break long ones into two msgs
|
# feature req: break long ones into two msgs
|
||||||
message = message[:67]
|
message = message[:67]
|
||||||
|
# We all miss George Carlin
|
||||||
|
message = re.sub('fuck|shit|cunt|piss|cock|bitch', '****', message)
|
||||||
thread = threading.Thread(
|
thread = threading.Thread(
|
||||||
target=send_message_thread,
|
target=send_message_thread,
|
||||||
name="send_message",
|
name="send_message",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user