Handle nick-less message properly
This commit is contained in:
parent
fa98b548d0
commit
5e2720fafb
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ class TextWin(BaseTextWin):
|
|||
if with_timestamps:
|
||||
offset += self.write_time(msg.str_time)
|
||||
|
||||
if msg.nickname is None: # not a message, nothing to do afterwards
|
||||
if not msg.nickname: # not a message, nothing to do afterwards
|
||||
return offset
|
||||
|
||||
nick = truncate_nick(msg.nickname, nick_size)
|
||||
|
|
Loading…
Reference in a new issue