Changed conf.py to remove some useless files (rawlogfile and ignoresfile weren't used) and changed ircdb to do the os.path.join itself.

This commit is contained in:
Jeremy Fincher 2003-09-18 07:44:25 +00:00
parent 3af8f1c790
commit 476ef32f47
2 changed files with 4 additions and 6 deletions

View File

@ -51,10 +51,8 @@ pluginDirs = ['src', 'plugins']
###
# Files.
###
userfile = os.path.join(confDir, 'users.conf')
channelfile = os.path.join(confDir, 'channels.conf')
ignoresfile = os.path.join(confDir, 'ignores.conf')
rawlogfile = os.path.join(logDir, 'raw.log')
userfile = 'users.conf'
channelfile = 'channels.conf'
###
# logTimestampFormat: A format string defining how timestamps should be. Check

View File

@ -500,8 +500,8 @@ class ChannelsDictionary(object):
###
# Later, I might add some special handling for botnet.
###
users = UsersDB(conf.userfile)
channels = ChannelsDictionary(conf.channelfile)
users = UsersDB(os.path.join(conf.confDir, conf.userfile))
channels = ChannelsDictionary(os.path.join(conf.confDir, conf.channelfile))
world.flushers.append(users.flush)
world.flushers.append(channels.flush)