From a5baf0eb41c872229852f64b2708f42133be1327 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 15 Aug 2003 05:41:51 +0000 Subject: [PATCH] Stopped coloring networks, it sucked. --- plugins/Relay.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/Relay.py b/plugins/Relay.py index 86c68c123..2e12148bc 100644 --- a/plugins/Relay.py +++ b/plugins/Relay.py @@ -290,17 +290,17 @@ class Relay(callbacks.Privmsg): (nick, hostmask, signon, idle, channels) replyIrc.reply(replyMsg, s) - def _formatPrivmsg(self, nick, abbreviation, msg): + def _formatPrivmsg(self, nick, network, msg): # colorize nicks nick = ircutils.mircColor(nick, *ircutils.canonicalColor(nick)) colors = ircutils.canonicalColor(nick, shift=4) if ircmsgs.isAction(msg): t = ircutils.mircColor('*', *colors) - s = '%s %s@%s %s' % (t, nick, abbreviation, ircmsgs.unAction(msg)) + s = '%s %s@%s %s' % (t, nick, network, ircmsgs.unAction(msg)) else: lt = ircutils.mircColor('<', *colors) - gt = ircutils.mircColor('%s>' % abbreviation, *colors) - s = '%s%s@%s %s' % (lt, nick, gt, msg.args[1]) + gt = ircutils.mircColor('>', *colors) + s = '%s%s@%s%s %s' % (lt, nick, network, gt, msg.args[1]) return s def doPrivmsg(self, irc, msg):