#NEWLINE# def _user( self , irc , channel , user , any = False ) : #NEWLINE# #INDENT# if any : #NEWLINE# #INDENT# db = self . anydb #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# db = self . db #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# ( when , said ) = db . seen ( any , user . id ) #NEWLINE# reply = format ( _ ( '%s was last seen in %s %s ago' ) , user . name , channel , utils . timeElapsed ( ( time . time ( ) - when ) ) ) #NEWLINE# if self . registryValue ( 'showLastMessage' , channel ) : #NEWLINE# #INDENT# reply = ( _ ( '%s: %s' ) % ( reply , said ) ) #NEWLINE# #UNINDENT# irc . reply ( reply ) #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# irc . reply ( format ( _ ( 'I have not seen %s.' ) , user . name ) )