Commit ae9d8ae2 authored by mathieui's avatar mathieui
Browse files

fix: handle /me message properly when logging

tangentially fix #3432 (but it was not relevant for a while)
parent 244dbf3a
Pipeline #3900 passed with stages
in 6 minutes and 54 seconds
......@@ -235,6 +235,8 @@ class Logger:
typ = 'MI'
if isinstance(msg, Message):
nick = msg.nickname or ''
txt = f'/me {txt}'
typ = 'MR'
logged_msg = build_log_message(nick, txt, date=date, prefix=typ)
if not logged_msg:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment