r3843@embla: ask | 2006-07-14 01:43:40 -0700
take out "local %ENV" from the quit_fortune plugin (Philip M. Gollucci) git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.3x@655 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
de620a4c22
commit
ca30545adc
@ -9,8 +9,6 @@ sub hook_quit {
|
||||
my $fortune = '/usr/games/fortune';
|
||||
return DECLINED unless -e $fortune;
|
||||
|
||||
# local %ENV = ();
|
||||
|
||||
my @fortune = `$fortune -s`;
|
||||
@fortune = map { chop; s/^/ \/ /; $_ } @fortune;
|
||||
$qp->respond(221, $qp->config('me') . " closing connection.", @fortune);
|
||||
|
Loading…
Reference in New Issue
Block a user