mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Minor updates.
This commit is contained in:
parent
ea90ba36db
commit
6b3ed89e17
@ -78,6 +78,7 @@ class XMLLogger(callbacks.Privmsg):
|
||||
if self.boundFlushMethod in world.flushers:
|
||||
world.flushers.remove(self.boundFlushMethod)
|
||||
else:
|
||||
if not world.dying:
|
||||
self.log.warning('My flusher wasn\'t in world.flushers: %r',
|
||||
world.flushers)
|
||||
self.fd.close()
|
||||
|
@ -97,7 +97,7 @@ users.setName('users')
|
||||
registerGroup(users, 'plugins')
|
||||
|
||||
def registerUserValue(group, name, value):
|
||||
assert group.name.startswith('users.')
|
||||
assert group.name.startswith('users')
|
||||
value.supplyDefault = True
|
||||
group.register(name, value)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user