Dumb, error.

This commit is contained in:
Jeremy Fincher 2004-08-10 15:45:26 +00:00
parent 1b10c0ad26
commit 9ceb89c254

View File

@ -462,7 +462,8 @@ class Relay(callbacks.Privmsg):
else: else:
network = '' network = ''
# colorize nicks # colorize nicks
if self.registryValue('color', channel): color = self.registryValue('color', channel) # Also used further down.
if color:
nick = ircutils.IrcString(nick) nick = ircutils.IrcString(nick)
newnick = 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)