Don't send an empty message
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
		@@ -72,6 +72,9 @@ class Squinnondation:
 | 
			
		||||
                squirrel.refresh_history()
 | 
			
		||||
                squirrel.refresh_input()
 | 
			
		||||
                msg = screen.getstr(curses.LINES - 1, 3 + len(squirrel.nickname)).decode("UTF-8")
 | 
			
		||||
                if not msg:
 | 
			
		||||
                    continue
 | 
			
		||||
 | 
			
		||||
                msg = f"<{squirrel.nickname}> {msg}"
 | 
			
		||||
                squirrel.history.append(msg)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user