mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +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:
|
if self.boundFlushMethod in world.flushers:
|
||||||
world.flushers.remove(self.boundFlushMethod)
|
world.flushers.remove(self.boundFlushMethod)
|
||||||
else:
|
else:
|
||||||
|
if not world.dying:
|
||||||
self.log.warning('My flusher wasn\'t in world.flushers: %r',
|
self.log.warning('My flusher wasn\'t in world.flushers: %r',
|
||||||
world.flushers)
|
world.flushers)
|
||||||
self.fd.close()
|
self.fd.close()
|
||||||
|
@ -97,7 +97,7 @@ users.setName('users')
|
|||||||
registerGroup(users, 'plugins')
|
registerGroup(users, 'plugins')
|
||||||
|
|
||||||
def registerUserValue(group, name, value):
|
def registerUserValue(group, name, value):
|
||||||
assert group.name.startswith('users.')
|
assert group.name.startswith('users')
|
||||||
value.supplyDefault = True
|
value.supplyDefault = True
|
||||||
group.register(name, value)
|
group.register(name, value)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user