Let's make sure the angle brackets don't change color based on capitalization.

This commit is contained in:
Jeremy Fincher 2004-08-02 18:03:27 +00:00
parent 55a38cb211
commit f9e96770a3

View File

@ -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)