mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
sedfsedf
This commit is contained in:
@@ -89,11 +89,11 @@ def handle_motd(message, message_from_id):
|
||||
MOTD = motd.rstrip()
|
||||
logger.debug(f"System: node changed MOTD: ", {message_from_id})
|
||||
return "MOTD Set to: " + MOTD
|
||||
elif "$" in message and not str(bbs_admin_list): #no names in bbs admin list
|
||||
elif "$" in message and not str(bbs_admin_list).strip(): #no names in bbs admin list
|
||||
motd = message.split("$")[1]
|
||||
MOTD = motd.rstrip()
|
||||
return "MOTD Set to: " + MOTD
|
||||
elif "$" in message:
|
||||
elif "$" in message and str(bbs_admin_list).strip():
|
||||
logger.debug(f"System: node tried to change MOTD: ", {message_from_id})
|
||||
return "I can't do that for you"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user