Send fix
This commit is contained in:
parent
3c932e6294
commit
f090414dc8
@ -169,6 +169,10 @@ my $push = sub {
|
|||||||
my $hash = $req->param('hash');
|
my $hash = $req->param('hash');
|
||||||
|
|
||||||
$config = $c->reload();
|
$config = $c->reload();
|
||||||
|
if ( $config->{host} =~ m/.+\,.+/ ) {
|
||||||
|
my @hosts = split( /,/, $config->{host} );
|
||||||
|
$config->{host} = $hosts[0];
|
||||||
|
}
|
||||||
my $s = II::Send->new( $config, $echo, $base64 );
|
my $s = II::Send->new( $config, $echo, $base64 );
|
||||||
$s->send($hash);
|
$s->send($hash);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user