From 759f38f8e08c307b06e62dba796caaf7500fcd06 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 11 Aug 2004 05:00:09 +0000 Subject: [PATCH] Use makeChannelFilename. --- plugins/URL.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/URL.py b/plugins/URL.py index a8b33821f..8f2de18bd 100644 --- a/plugins/URL.py +++ b/plugins/URL.py @@ -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: