commit dd8eacbbc87ff296669cfb98aa30edd271122aea (patch)
parent db819a497fde9029d2e10769ba5312170b97a89f
Author: Alex Karle <alex@karle.co>
Date: Thu, 21 May 2020 23:47:59 -0400
Euchre::Dealer: Fix bad name on chat message
This was a bad string-interpolation from the transition to the OOP
framework.
Did a git-grep to make sure there's no remaining of these.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Euchre/Dealer.pm b/lib/Euchre/Dealer.pm
@@ -237,7 +237,7 @@ sub chat {
my $json = {
msg_type => 'chat',
- msg => "$p->name: $msg->{msg}"
+ msg => $p->name . ": $msg->{msg}"
};
$self->broadcast($json);
}