mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Merge pull request #1290 from s-i-newton/channellogger-getlogdir-normalize
ChannelLogger: Normalize channel name in getLogDir
This commit is contained in:
commit
2caf8e4072
@ -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