mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Use makeChannelFilename.
This commit is contained in:
parent
e85388a1d0
commit
759f38f8e0
@ -92,8 +92,7 @@ conf.registerChannelValue(conf.supybot.plugins.URL, 'nonSnarfingRegexp',
|
||||
class URLDB(object):
|
||||
def __init__(self, channel, log):
|
||||
self.log = log
|
||||
dataDir = conf.supybot.directories.data()
|
||||
self.filename = os.path.join(dataDir, '%s-URL.db' % channel)
|
||||
self.filename = plugins.makeChannelFilename('URL.db', channel)
|
||||
|
||||
def _getFile(self):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user