mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-14 14:49:21 +01:00
scripts/supybot: use None as msg for standardSubstitute on Ctrl-C
This commit is contained in:
parent
32de4e8270
commit
59b39ea45e
@ -105,8 +105,7 @@ def main():
|
||||
for irc in world.ircs:
|
||||
quitmsg = conf.supybot.plugins.Owner.quitMsg() or \
|
||||
'Ctrl-C at console.'
|
||||
msg = ircmsgs.ping('Ctrl-C at console.')
|
||||
quitmsg = ircutils.standardSubstitute(irc, msg, quitmsg)
|
||||
quitmsg = ircutils.standardSubstitute(irc, None, quitmsg)
|
||||
irc.queueMsg(ircmsgs.quit(quitmsg))
|
||||
irc.die()
|
||||
except SystemExit as e:
|
||||
|
Loading…
Reference in New Issue
Block a user