From f8ffe2214a36e121b7cc6f42984c0f80856f5dc5 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Mon, 3 Feb 2020 13:02:08 -0800 Subject: [PATCH] WebPaste: fix syntax error --- PBot/WebPaste.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/WebPaste.pm b/PBot/WebPaste.pm index a55da0b4..92a35a31 100644 --- a/PBot/WebPaste.pm +++ b/PBot/WebPaste.pm @@ -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);