#NEWLINE# def on_dccchat( self , c , e ) : #NEWLINE# #INDENT# if ( len ( e . arguments ) != 2 ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# args = e . arguments [ 1 ] . split ( ) #NEWLINE# if ( len ( args ) == 4 ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# address = ip_numstr_to_quad ( args [ 2 ] ) #NEWLINE# port = int ( args [ 3 ] ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . dcc_connect ( address , port )