Possible fix for the dumb bug from dumb servers who put dumb dots in the dumb channels's dumb name.

This commit is contained in:
Jeremy Fincher 2004-06-14 06:14:37 +00:00
parent ed14dcb9c5
commit 6f336f297e

View File

@ -166,6 +166,7 @@ class ChannelLogger(callbacks.Privmsg):
log.write(' ')
def normalizeChannel(self, irc, channel):
channel = channel.replace('.', ',')
if self.registryValue('includeNetworkName', channel):
channel = '%s@%s' % (channel, irc.network)
return ircutils.toLower(channel)