mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
WebPaste: fix syntax error
This commit is contained in:
parent
66201585fe
commit
f8ffe2214a
@ -21,7 +21,7 @@ use Carp ();
|
|||||||
use Encode;
|
use Encode;
|
||||||
|
|
||||||
sub new {
|
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 ($class, %conf) = @_;
|
||||||
my $self = bless {}, $class;
|
my $self = bless {}, $class;
|
||||||
$self->initialize(%conf);
|
$self->initialize(%conf);
|
||||||
|
Loading…
Reference in New Issue
Block a user