Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Put user name that requested the eval into ENV variable
  • Loading branch information
AlexDaniel committed Feb 13, 2016
1 parent 48f1121 commit 5eabe3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evalbot.pl
Expand Up @@ -216,6 +216,7 @@ package Evalbot;
my $address = $info->{address} // '';
return if $info->{who} =~ m/^(dalek|preflex|yoleaux).?$/;
$message =~ s//\n/g;
$ENV{ME} = $info->{who};

if ($message =~ m/^camelia:/) {
return "Usage: " . join(',', sort keys %impls) . ': $code';
Expand Down

0 comments on commit 5eabe3e

Please sign in to comment.