#NEWLINE# def outFilter( self , irc , msg ) : #NEWLINE# #INDENT# irc = self . _getRealIrc ( irc ) #NEWLINE# if ( msg . command == 'PRIVMSG' ) : #NEWLINE# #INDENT# if network . relayedMsg : #NEWLINE# #INDENT# self . _addRelayMsg ( msg ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# channel = msg . args [ 0 ] #NEWLINE# if ( channel in self . registryValue ( 'channels' ) ) : #NEWLINE# #INDENT# network = self . _getIrcName ( irc ) #NEWLINE# s = self . _formatPrivmsg ( irc . nick , network , msg ) #NEWLINE# relayMsg = self . _msgmaker ( channel , s ) #NEWLINE# self . _sendToOthers ( irc , relayMsg ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return msg