mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Changed some logging messages.
This commit is contained in:
parent
6df8eed142
commit
fd01a22e84
@ -94,16 +94,20 @@ def upkeep(): # Function to be run on occasion to do upkeep stuff.
|
||||
|
||||
def makeIrcsDie():
|
||||
"""Kills Ircs."""
|
||||
log.info('Assassinating the Irc object council.')
|
||||
log.info('Killing Irc objects.')
|
||||
for irc in ircs[:]:
|
||||
irc.die()
|
||||
|
||||
def startDying():
|
||||
"""Starts dying."""
|
||||
log.info('Beginning that long, slow walk into the night.')
|
||||
log.info('Shutdown initiated.')
|
||||
global dying
|
||||
dying = True
|
||||
|
||||
def finished():
|
||||
log.info('Shutdown complete.')
|
||||
|
||||
atexit.register(finished)
|
||||
atexit.register(upkeep)
|
||||
atexit.register(makeIrcsDie)
|
||||
atexit.register(startDying)
|
||||
|
Loading…
Reference in New Issue
Block a user