Make all channel names lower cased and reversed nick changes

This commit is contained in:
Chris Oliver 2010-10-10 17:34:03 -05:00
parent 70d3d3b594
commit 470c5b1552

View file

@ -130,7 +130,7 @@ class Logbot(SingleServerIRCBot):
nick,
nick)
self.chans = channels
self.chans = [x.lower() for x in channels]
self.format = format
print "Logbot %s" % __version__
@ -251,8 +251,8 @@ class Logbot(SingleServerIRCBot):
def on_nick(self, c, e):
self.write_event("nick", e,
{"%new%" : nm_to_n(e.source()),
"%old%" : e.target(),
{"%old%" : nm_to_n(e.source()),
"%new%" : e.target(),
})
def on_part(self, c, e):