mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 00:47:21 +01:00 
			
		
		
		
	opercmds: fix wrong help message for KILL
This commit is contained in:
		
							parent
							
								
									d1468e932e
								
							
						
					
					
						commit
						393466498e
					
				@ -152,9 +152,9 @@ def kick(irc, source, args):
 | 
			
		||||
 | 
			
		||||
@utils.add_cmd
 | 
			
		||||
def kill(irc, source, args):
 | 
			
		||||
    """<source> <channel> <user> [<reason>]
 | 
			
		||||
    """<source> <target> [<reason>]
 | 
			
		||||
 | 
			
		||||
    Admin only. Kills <user> via <source>, where <source> is either the nick of a PyLink client or the SID of a PyLink server."""
 | 
			
		||||
    Admin only. Kills <target> via <source>, where <source> is either the nick of a PyLink client or the SID of a PyLink server."""
 | 
			
		||||
    utils.checkAuthenticated(irc, source, allowOper=False)
 | 
			
		||||
    try:
 | 
			
		||||
        sourcenick = args[0]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user