#NEWLINE# def checkIrcForMsgs( self ) : #NEWLINE# #INDENT# if self . connected : #NEWLINE# #INDENT# msg = self . irc . takeMsg ( ) #NEWLINE# while self : #NEWLINE# #INDENT# self . transport . write ( str ( msg ) ) #NEWLINE# msg = self . irc . takeMsg ( ) #NEWLINE# #UNINDENT# #UNINDENT# self . mostRecentCall = reactor . callLater ( 0.1 , self . checkIrcForMsgs )