mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
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:
parent
3af8f1c790
commit
476ef32f47
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user