colo.py: minor colour tweak

This commit is contained in:
wowaname 2016-09-30 22:42:12 +00:00
parent 30b0cd7606
commit d5eb6ef6d4

View File

@ -26,7 +26,7 @@ import weechat
SCRIPT_NAME = "colo"
SCRIPT_AUTHOR = "The Krusty Krab <wowaname@volatile.ch>"
SCRIPT_VERSION = "2.0"
SCRIPT_VERSION = "2.1"
SCRIPT_LICENSE = "Public domain"
SCRIPT_DESC = "Makes your chats noticable"
@ -152,7 +152,7 @@ def cb_colo (data, mod, buf, input):
"\x16").replace("%o", "\x0f")
if fgs == [""] and bgs == [""]: continue
for j in xrange(10):
base = "\x0f\x03%s%s%s" % (
base = "\x03%s%s%s" % (
random.choice(fgs),
"," if bgs != [""] else "",
random.choice(bgs),