diff --git a/etc/plugins.conf b/etc/plugins.conf index e19521f..06f1ccc 100644 --- a/etc/plugins.conf +++ b/etc/plugins.conf @@ -10,4 +10,7 @@ server "*" { plugin "conf" { access: root; } plugin "karma_modify" { addressed: false; } } + channel "#perl" { + plugin "eval" {addressed: true; } + } } diff --git a/plugins/eval.pm b/plugins/eval.pm index 9b79092..0726e88 100644 --- a/plugins/eval.pm +++ b/plugins/eval.pm @@ -50,7 +50,7 @@ sub command { warn "Found $type: $code"; my $filter = POE::Filter::Reference->new(); - my $socket = IO::Socket::INET->new( PeerAddr => 'localhost', PeerPort => '14400' ) + my $socket = IO::Socket::INET->new( PeerAddr => 'simcop2387.info', PeerPort => '14400' ) or die "error: cannot connect to eval server"; my $refs = $filter->put( [ { code => "$type $code" } ] );