buffer: Fix output format for notices.
This commit is contained in:
parent
d97655d68c
commit
bbfc0d2e7d
1 changed files with 2 additions and 2 deletions
|
@ -502,11 +502,11 @@ class WeechatChannelBuffer(object):
|
||||||
)
|
)
|
||||||
|
|
||||||
user_string = "{}{}{}{}".format(
|
user_string = "{}{}{}{}".format(
|
||||||
user_prefix, user.color, user.nick, W.color("reset")
|
user_prefix, W.color(user.color), user.nick, W.color("reset")
|
||||||
)
|
)
|
||||||
|
|
||||||
data = (
|
data = (
|
||||||
"{prefix}\t{color}Notice"
|
"{prefix}{color}Notice"
|
||||||
"{del_color}({ncolor}{user}{del_color}){ncolor}"
|
"{del_color}({ncolor}{user}{del_color}){ncolor}"
|
||||||
": {message}"
|
": {message}"
|
||||||
).format(
|
).format(
|
||||||
|
|
Loading…
Add table
Reference in a new issue