mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Changed colorization slightly to include network abbreviation.
This commit is contained in:
parent
9b62a861c6
commit
7fb632c49f
@ -40,6 +40,7 @@ import sets
|
||||
import time
|
||||
|
||||
import conf
|
||||
import debug
|
||||
import utils
|
||||
import ircdb
|
||||
import irclib
|
||||
@ -298,8 +299,8 @@ class Relay(callbacks.Privmsg):
|
||||
s = '%s %s@%s %s' % (t, nick, abbreviation, ircmsgs.unAction(msg))
|
||||
else:
|
||||
lt = ircutils.mircColor('<', *colors)
|
||||
gt = ircutils.mircColor('>', *colors)
|
||||
s = '%s%s@%s%s %s' % (lt, nick, abbreviation, gt, msg.args[1])
|
||||
gt = ircutils.mircColor('%s>' % abbreviation, *colors)
|
||||
s = '%s%s@%s %s' % (lt, nick, gt, msg.args[1])
|
||||
return s
|
||||
|
||||
def doPrivmsg(self, irc, msg):
|
||||
|
Loading…
Reference in New Issue
Block a user