mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Added supybot.plugins.Owner.quitMsg support for Ctrl-C kills.
This commit is contained in:
parent
96cb71f9fa
commit
8c4cbeb735
@ -93,7 +93,9 @@ def main():
|
||||
'without flushing its message queues.')
|
||||
world.upkeep()
|
||||
for irc in world.ircs:
|
||||
irc.queueMsg(ircmsgs.quit('Ctrl-C at console.'))
|
||||
quitmsg = conf.supybot.plugins.Owner.quitMsg() or \
|
||||
'Ctrl-C at console.'
|
||||
irc.queueMsg(ircmsgs.quit(quitmsg))
|
||||
irc.die()
|
||||
except SystemExit, e:
|
||||
s = str(e)
|
||||
|
Loading…
Reference in New Issue
Block a user