mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 08:37:24 +01:00 
			
		
		
		
	Refresher: version factoid does not exist any longer
				
					
				
			This commit is contained in:
		
							parent
							
								
									6081ee11e1
								
							
						
					
					
						commit
						1baff41267
					
				@ -62,13 +62,6 @@ sub refresh {
 | 
			
		||||
    return $@;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  # update version factoid
 | 
			
		||||
  my $version = $self->{pbot}->{version}->version();
 | 
			
		||||
  if ($self->{pbot}->{factoids}->{factoids}->{hash}->{'.*'}->{'version'}->{'action'} ne "/say $version") {
 | 
			
		||||
    $self->{pbot}->{factoids}->{factoids}->{hash}->{'.*'}->{'version'}->{'action'} = "/say $version";
 | 
			
		||||
    $self->{pbot}->{logger}->log("New version: $version\n");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  return $result;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user