#NEWLINE# def on_raw_cap_nak( self , params ) : #NEWLINE# #INDENT# ' Update active capabilities: requested capability rejected. ' #NEWLINE# for capab in params [ 0 ] . split ( ) : #NEWLINE# #INDENT# ( capab , _ ) = self . _capability_normalize ( capab ) #NEWLINE# self . _capabilities [ capab ] = False #NEWLINE# self . _capabilities_requested . discard ( capab ) #NEWLINE# #UNINDENT# if ( ( not params . _capabilities_requested ) and ( not self . _capabilities_negoatiating ) ) : #NEWLINE# #INDENT# self . rawmsg ( 'CAP' , 'END' )