mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +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.')
|
'without flushing its message queues.')
|
||||||
world.upkeep()
|
world.upkeep()
|
||||||
for irc in world.ircs:
|
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()
|
irc.die()
|
||||||
except SystemExit, e:
|
except SystemExit, e:
|
||||||
s = str(e)
|
s = str(e)
|
||||||
|
Loading…
Reference in New Issue
Block a user