Skip to content

Commit

Permalink
Fixed a syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
ironcamel committed Nov 11, 2012
1 parent f851a82 commit 5176e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dancer/Plugin/Stomp.pm
Expand Up @@ -18,7 +18,7 @@ sub get_stomp_client {
die "Stomp server host or hosts is required" unless $host or $hosts;
my $stomp = $hosts
? Net::Stomp->new({ hosts => $hosts })
: Net::Stomp->new({ host => $host, port => $port });
: Net::Stomp->new({ hostname => $host, port => $port });
return $stomp;
};

Expand Down

0 comments on commit 5176e00

Please sign in to comment.