mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Let's make sure the angle brackets don't change color based on capitalization.
This commit is contained in:
parent
55a38cb211
commit
f9e96770a3
@ -443,8 +443,9 @@ class Relay(callbacks.Privmsg):
|
|||||||
color = self.registryValue('color', msg.args[0])
|
color = self.registryValue('color', msg.args[0])
|
||||||
if color:
|
if color:
|
||||||
nick = ircutils.IrcString(nick)
|
nick = ircutils.IrcString(nick)
|
||||||
nick = ircutils.mircColor(nick, *ircutils.canonicalColor(nick))
|
newnick = ircutils.mircColor(nick, *ircutils.canonicalColor(nick))
|
||||||
colors = ircutils.canonicalColor(nick, shift=4)
|
colors = ircutils.canonicalColor(nick, shift=4)
|
||||||
|
nick = newnick
|
||||||
if ircmsgs.isAction(msg):
|
if ircmsgs.isAction(msg):
|
||||||
if color:
|
if color:
|
||||||
t = ircutils.mircColor('*', *colors)
|
t = ircutils.mircColor('*', *colors)
|
||||||
|
Loading…
Reference in New Issue
Block a user