From 59b39ea45ebf4fa5f52e64d173d0af9f9077b821 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 7 Feb 2015 10:01:47 -0800 Subject: [PATCH] scripts/supybot: use None as msg for standardSubstitute on Ctrl-C --- scripts/supybot | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/supybot b/scripts/supybot index 41ca10d78..a658ea78a 100644 --- a/scripts/supybot +++ b/scripts/supybot @@ -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: