#NEWLINE# def deops( channel , nicks , prefix = '' , msg = None ) : #NEWLINE# #INDENT# 'Returns a MODE to deop each of nicks on channel.' #NEWLINE# if conf . supybot . protocols . irc . strictRfc ( ) : #NEWLINE# #INDENT# assert isChannel ( channel ) , repr ( channel ) #NEWLINE# assert nicks , 'Nicks must not be empty.' #NEWLINE# assert all ( isNick , nicks ) , nicks #NEWLINE# #UNINDENT# if ( msg and ( not prefix ) ) : #NEWLINE# #INDENT# prefix = channel . prefix #NEWLINE# #UNINDENT# return IrcMsg ( prefix = prefix , command = 'MODE' , msg = msg , args = ( ( channel , ( '-' + ( 'o' * len ( nicks ) ) ) ) + tuple ( nicks ) ) )