mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
ChannelLogger: Normalize channel name in getLogDir
This commit is contained in:
parent
6fcf9a2829
commit
b93b5a237e
@ -100,6 +100,7 @@ class ChannelLogger(callbacks.Plugin):
|
|||||||
return '%s.log' % channel
|
return '%s.log' % channel
|
||||||
|
|
||||||
def getLogDir(self, irc, channel):
|
def getLogDir(self, irc, channel):
|
||||||
|
channel = self.normalizeChannel(irc, channel)
|
||||||
logDir = conf.supybot.directories.log.dirize(self.name())
|
logDir = conf.supybot.directories.log.dirize(self.name())
|
||||||
if self.registryValue('directories'):
|
if self.registryValue('directories'):
|
||||||
if self.registryValue('directories.network'):
|
if self.registryValue('directories.network'):
|
||||||
|
Loading…
Reference in New Issue
Block a user