summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-04-26 02:18:43 -0500
committerdoy <doy@tozt.net>2009-04-26 02:18:43 -0500
commitae7cd18ed214e0241baf7fc7934725864100ffee (patch)
tree72e50e6931cdaf97b112b1e4c82d3e2181556c54
parenta0c8d4239bf3b2c1bd1950652af958799cd94e10 (diff)
downloadbot-games-ae7cd18ed214e0241baf7fc7934725864100ffee.tar.gz
bot-games-ae7cd18ed214e0241baf7fc7934725864100ffee.zip
dumb syntax
-rw-r--r--lib/Bot/Games/Game/Ghost.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bot/Games/Game/Ghost.pm b/lib/Bot/Games/Game/Ghost.pm
index 4f5baf6..c59b7cd 100644
--- a/lib/Bot/Games/Game/Ghost.pm
+++ b/lib/Bot/Games/Game/Ghost.pm
@@ -98,8 +98,8 @@ command challenge => sub {
# player loses, otherwise the current player loses.
if ($self->valid_word($word)) {
return "$word is a word! "
- . $self->has_challenger ? $self->challenger
- : $self->previous_player
+ . ($self->has_challenger ? $self->challenger
+ : $self->previous_player)
. " loses!";
}
else {