mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 00:27:23 +01:00 
			
		
		
		
	WebPaste: fix syntax error
This commit is contained in:
		
							parent
							
								
									66201585fe
								
							
						
					
					
						commit
						f8ffe2214a
					
				@ -21,7 +21,7 @@ use Carp ();
 | 
			
		||||
use Encode;
 | 
			
		||||
 | 
			
		||||
sub new {
 | 
			
		||||
  Carp::croak("Options to " . __FILE__ . " should be key/value pairs, not hash reference" if ref($_[1]) eq 'HASH';
 | 
			
		||||
  Carp::croak("Options to " . __FILE__ . " should be key/value pairs, not hash reference") if ref($_[1]) eq 'HASH';
 | 
			
		||||
  my ($class, %conf) = @_;
 | 
			
		||||
  my $self = bless {}, $class;
 | 
			
		||||
  $self->initialize(%conf);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user