#NEWLINE# @ internationalizeDocstring #NEWLINE# def reconnect( self , irc , msg , args , otherIrc , quitMsg ) : #NEWLINE# #INDENT# '[<network>] [<quit message>]\n\n        Disconnects and then reconnects to <network>.  If no network is given,\n        disconnects and then reconnects to the network the command was given\n        on.  If no quit message is given, uses the configured one\n        (supybot.plugins.Owner.quitMsg) or the nick of the person giving the\n        command.\n        ' #NEWLINE# standard_msg = conf . supybot . plugins . Owner . quitMsg ( ) #NEWLINE# if standard_msg : #NEWLINE# #INDENT# standard_msg = ircutils . standardSubstitute ( args , msg , standard_msg ) #NEWLINE# #UNINDENT# quitMsg = ( quitMsg or standard_msg or msg . nick ) #NEWLINE# otherIrc . queueMsg ( ircmsgs . quit ( quitMsg ) ) #NEWLINE# if ( otherIrc != irc ) : #NEWLINE# #INDENT# irc . replySuccess ( )