diff options
Diffstat (limited to 'lib/Bot/Games/Game/Ghost.pm')
-rw-r--r-- | lib/Bot/Games/Game/Ghost.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bot/Games/Game/Ghost.pm b/lib/Bot/Games/Game/Ghost.pm index 9dba5d2..7d8f4a0 100644 --- a/lib/Bot/Games/Game/Ghost.pm +++ b/lib/Bot/Games/Game/Ghost.pm @@ -69,7 +69,7 @@ sub allow_new_player { command challenge => sub { my $self = shift; my ($word, $args) = @_; - my $player = $args->{player}; + my $player = $args->{sender}; $self->maybe_add_player($player); return "It's " . $self->current_player . "'s turn!" if $player ne $self->current_player; |