mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 08:37:24 +01:00 
			
		
		
		
	Users: fix minor warning
This commit is contained in:
		
							parent
							
								
									b4ae4f8ea0
								
							
						
					
					
						commit
						f5232879e3
					
				@ -206,7 +206,7 @@ sub cmd_useradd {
 | 
			
		||||
 | 
			
		||||
    if (not defined $name or not defined $hostmasks) { return "Usage: useradd <username> <hostmasks> [channels [capabilities [password]]]"; }
 | 
			
		||||
 | 
			
		||||
    $channels = 'global' if $channels !~ /^#/;
 | 
			
		||||
    $channels = 'global' if !$channels or $channels !~ /^#/;
 | 
			
		||||
 | 
			
		||||
    my $u;
 | 
			
		||||
    foreach my $channel (sort split /\s*,\s*/, lc $channels) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user