#NEWLINE# def setChannel( self , channel , ircChannel ) : #NEWLINE# #INDENT# 'Sets a given channel to the IrcChannel object given.' #NEWLINE# channel = channel . lower ( ) #NEWLINE# self . channels [ channel ] = ircChannel #NEWLINE# self . flush ( )