mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 08:37:24 +01:00 
			
		
		
		
	Replaced ".*" with "global" in set list keys
This commit is contained in:
		
							parent
							
								
									322314d869
								
							
						
					
					
						commit
						a4cdb2204f
					
				@ -266,7 +266,7 @@ sub set {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if(not defined $key) {
 | 
			
		||||
    my $result = "[$self->{name}] ($primary) $secondary keys: ";
 | 
			
		||||
    my $result = "[$self->{name}] (" . ($primary eq '.*' ? 'global' : $primary) . ") $secondary keys: ";
 | 
			
		||||
    my $comma = '';
 | 
			
		||||
    foreach my $key (sort keys %{ $self->hash->{$primary}->{$secondary} }) {
 | 
			
		||||
      $result .= $comma . "$key => " . $self->hash->{$primary}->{$secondary}->{$key};
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,7 @@ use warnings;
 | 
			
		||||
# These are set automatically by the build/commit script
 | 
			
		||||
use constant {
 | 
			
		||||
  BUILD_NAME     => "PBot",
 | 
			
		||||
  BUILD_REVISION => 216,
 | 
			
		||||
  BUILD_REVISION => 217,
 | 
			
		||||
  BUILD_DATE     => "2010-06-29",
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user