#NEWLINE# def password( password , prefix = '' , msg = None ) : #NEWLINE# #INDENT# 'Returns a PASS command for accessing a server.' #NEWLINE# if conf . supybot . protocols . irc . strictRfc ( ) : #NEWLINE# #INDENT# assert password , 'password must not be empty.' #NEWLINE# #UNINDENT# if ( msg and ( not prefix ) ) : #NEWLINE# #INDENT# prefix = msg . prefix #NEWLINE# #UNINDENT# return IrcMsg ( prefix = prefix , command = 'PASS' , args = ( password , ) , msg = msg )