From abd28e6dddd2b0327ef2b10a38559f7345846c93 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Sat, 5 Dec 2009 23:11:01 -0500 Subject: [PATCH] patched to let others connect to evalserver --- lib/EvalServer.pm | 2 +- plugins/eval.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/EvalServer.pm b/lib/EvalServer.pm index 581f1a8..ac6ac8a 100644 --- a/lib/EvalServer.pm +++ b/lib/EvalServer.pm @@ -164,7 +164,7 @@ sub _start { warn "Eval Server starting\n"; $self->{socket_factory} = POE::Wheel::SocketFactory->new( - BindAddress => "127.0.0.1", +# BindAddress => "127.0.0.1", BindPort => '14400', SuccessEvent => 'socket_new', FailureEvent => 'socket_fail', diff --git a/plugins/eval.pm b/plugins/eval.pm index 17a30d1..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 => '127.0.0.1', 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" } ] );