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.
|
# Files.
|
||||||
###
|
###
|
||||||
userfile = os.path.join(confDir, 'users.conf')
|
userfile = 'users.conf'
|
||||||
channelfile = os.path.join(confDir, 'channels.conf')
|
channelfile = 'channels.conf'
|
||||||
ignoresfile = os.path.join(confDir, 'ignores.conf')
|
|
||||||
rawlogfile = os.path.join(logDir, 'raw.log')
|
|
||||||
|
|
||||||
###
|
###
|
||||||
# logTimestampFormat: A format string defining how timestamps should be. Check
|
# 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.
|
# Later, I might add some special handling for botnet.
|
||||||
###
|
###
|
||||||
users = UsersDB(conf.userfile)
|
users = UsersDB(os.path.join(conf.confDir, conf.userfile))
|
||||||
channels = ChannelsDictionary(conf.channelfile)
|
channels = ChannelsDictionary(os.path.join(conf.confDir, conf.channelfile))
|
||||||
|
|
||||||
world.flushers.append(users.flush)
|
world.flushers.append(users.flush)
|
||||||
world.flushers.append(channels.flush)
|
world.flushers.append(channels.flush)
|
||||||
|
Loading…
Reference in New Issue
Block a user