summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/Game/Chess.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-11-02 18:49:55 -0600
committerJesse Luehrs <doy@tozt.net>2009-11-02 18:49:55 -0600
commite346fd1fd41d184393b0f14cf56eaf30821501bd (patch)
tree80323aa5bcab043bfe901eae50a29a22ad6a4d69 /lib/Bot/Games/Game/Chess.pm
parent79b1852f03e9c00baa50ae322ed611291ac0dc53 (diff)
downloadbot-games-e346fd1fd41d184393b0f14cf56eaf30821501bd.tar.gz
bot-games-e346fd1fd41d184393b0f14cf56eaf30821501bd.zip
this arg was renamed to sender in im-e-p-c
Diffstat (limited to 'lib/Bot/Games/Game/Chess.pm')
-rw-r--r--lib/Bot/Games/Game/Chess.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Bot/Games/Game/Chess.pm b/lib/Bot/Games/Game/Chess.pm
index d77f820..91c1716 100644
--- a/lib/Bot/Games/Game/Chess.pm
+++ b/lib/Bot/Games/Game/Chess.pm
@@ -59,9 +59,9 @@ command resign => sub {
my $self = shift;
my ($dummy, $args) = @_;
$self->is_active(0);
- return "$args->{player} resigns: "
+ return "$args->{sender} resigns: "
. App::Nopaste::nopaste(text => $self->game->dump_pos,
- nick => $args->{player})
+ nick => $args->{sender})
};
command state => sub {
@@ -77,7 +77,7 @@ command state => sub {
}
return "$player to play: "
. App::Nopaste::nopaste(text => $self->game->dump_pos,
- nick => $args->{player});
+ nick => $args->{sender});
};
sub format_turn {