summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-04-26 17:45:27 -0500
committerdoy <doy@tozt.net>2009-04-26 17:45:27 -0500
commit663e1b3a9ff49b6a9c62143755d7a1f35aa6ab68 (patch)
tree178c7d8f0bdfd9a472f69933932700e004778cb5
parent2cfd4854006b81bd03743d05c2b3bb54a839e1b4 (diff)
downloadbot-games-663e1b3a9ff49b6a9c62143755d7a1f35aa6ab68.tar.gz
bot-games-663e1b3a9ff49b6a9c62143755d7a1f35aa6ab68.zip
force auto_deref attributes to their reference form
-rw-r--r--lib/Bot/Games.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bot/Games.pm b/lib/Bot/Games.pm
index 2b2eec6..faae682 100644
--- a/lib/Bot/Games.pm
+++ b/lib/Bot/Games.pm
@@ -97,8 +97,8 @@ sub said {
$self->$say("Game $game_name hasn't started yet!");
return;
}
- $self->$say($method_meta->execute($game, $arg,
- {player => $args->{who}}));
+ $self->$say(scalar $method_meta->execute($game, $arg,
+ {player => $args->{who}}));
}
else {
$self->$say("Unknown command $action for game $game_name");