ChannelLogger: Normalize channel name in getLogDir

This commit is contained in:
Marc Chevalier 2017-05-09 12:50:21 +02:00
parent 6fcf9a2829
commit b93b5a237e

View File

@ -100,6 +100,7 @@ class ChannelLogger(callbacks.Plugin):
return '%s.log' % channel
def getLogDir(self, irc, channel):
channel = self.normalizeChannel(irc, channel)
logDir = conf.supybot.directories.log.dirize(self.name())
if self.registryValue('directories'):
if self.registryValue('directories.network'):