#NEWLINE# def do318( self , irc , msg ) : #NEWLINE# #INDENT# irc = self . _getRealIrc ( irc ) #NEWLINE# nick = msg . args [ 1 ] #NEWLINE# loweredNick = ircutils . toLower ( nick ) #NEWLINE# if ( ( irc , loweredNick ) not in self . _whois ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# ( replyIrc , replyMsg , d ) = self . _whois [ ( irc , d ) ] #NEWLINE# d [ '318' ] = msg #NEWLINE# s = ircutils . formatWhois ( irc , d , caller = replyMsg . nick , channel = replyMsg . args [ 0 ] ) #NEWLINE# replyIrc . reply ( s ) #NEWLINE# del self . _whois [ ( irc , loweredNick ) ]