Update system.py

This commit is contained in:
SpudGunMan
2024-09-01 00:58:52 -07:00
parent 7e2dd4c7ff
commit 7024f2d472
-9
View File
@@ -519,15 +519,6 @@ def messageTrap(msg):
return True
return False
def messageTrap(msg):
# Check if the message contains a trap word
message_list=msg.split(" ")
for m in message_list:
for t in trap_list:
if t.lower() == m.lower():
return True
return False
def exit_handler():
# Close the interface and save the BBS messages
logger.debug(f"\nSystem: Closing Autoresponder")