mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +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