mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 16:15:39 -04:00
patched to let others connect to evalserver
This commit is contained in:
parent
8032fbb0ad
commit
abd28e6ddd
2 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
|
|
|
@ -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" } ] );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue