Make all channel names lower cased and reversed nick changes
This commit is contained in:
parent
70d3d3b594
commit
470c5b1552
1 changed files with 3 additions and 3 deletions
|
@ -130,7 +130,7 @@ class Logbot(SingleServerIRCBot):
|
||||||
nick,
|
nick,
|
||||||
nick)
|
nick)
|
||||||
|
|
||||||
self.chans = channels
|
self.chans = [x.lower() for x in channels]
|
||||||
self.format = format
|
self.format = format
|
||||||
|
|
||||||
print "Logbot %s" % __version__
|
print "Logbot %s" % __version__
|
||||||
|
@ -251,8 +251,8 @@ class Logbot(SingleServerIRCBot):
|
||||||
|
|
||||||
def on_nick(self, c, e):
|
def on_nick(self, c, e):
|
||||||
self.write_event("nick", e,
|
self.write_event("nick", e,
|
||||||
{"%new%" : nm_to_n(e.source()),
|
{"%old%" : nm_to_n(e.source()),
|
||||||
"%old%" : e.target(),
|
"%new%" : e.target(),
|
||||||
})
|
})
|
||||||
|
|
||||||
def on_part(self, c, e):
|
def on_part(self, c, e):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue