From 952d5589ed07e3c74f23eaa9999a32d41fbc92a7 Mon Sep 17 00:00:00 2001 From: div0 Date: Wed, 3 Jun 2009 16:10:09 +0000 Subject: [PATCH] handle direct conn better git-svn-id: svn://svn.icculus.org/nexuiz/trunk@6857 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- misc/tools/weapon-profiler.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tools/weapon-profiler.pl b/misc/tools/weapon-profiler.pl index e43763e1e..5f62b0dae 100755 --- a/misc/tools/weapon-profiler.pl +++ b/misc/tools/weapon-profiler.pl @@ -144,7 +144,7 @@ my %bots = (); LoadData(); while(my $addr = sockaddr_readable $sock->recv($_, 2048, 0)) { - $addr = "" + $addr = $server if not defined $bind; s/^\377\377\377\377n// or next; -- 2.39.2