diff --git a/plugins/baseplugin.py b/plugins/baseplugin.py index ae37fa870..f1f22c2f5 100644 --- a/plugins/baseplugin.py +++ b/plugins/baseplugin.py @@ -26,6 +26,7 @@ class ChannelDBHandler(object): self.suffix = suffix def makeFilename(self, channel): + channel = ircutils.toLower(channel) prefix = '%s-%s%s' % (channel, self.__class__.__name__, self.suffix) return os.path.join(conf.dataDir, prefix) @@ -33,6 +34,7 @@ class ChannelDBHandler(object): return cdb.shelf(filename) def getDb(self, channel): + channel = ircutils.toLower(channel) try: return self.dbCache[channel] except KeyError: