mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 04:19:27 +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…
Reference in New Issue
Block a user