From bbfc0d2e7db9d84740c5e4a8c87eb7ab98bebd47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 3 Sep 2018 15:31:49 +0200 Subject: [PATCH] buffer: Fix output format for notices. --- matrix/buffer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix/buffer.py b/matrix/buffer.py index ec36a2e..b4a64c0 100644 --- a/matrix/buffer.py +++ b/matrix/buffer.py @@ -502,11 +502,11 @@ class WeechatChannelBuffer(object): ) user_string = "{}{}{}{}".format( - user_prefix, user.color, user.nick, W.color("reset") + user_prefix, W.color(user.color), user.nick, W.color("reset") ) data = ( - "{prefix}\t{color}Notice" + "{prefix}{color}Notice" "{del_color}({ncolor}{user}{del_color}){ncolor}" ": {message}" ).format(