added IP address logging for connections
[spider.git] / perl / cluster.pl
index aa95e7ac680df8c1f16ca30992312c6c69083da3..516e7cb1eb8f57ae33478d313e97ee9627df3245 100755 (executable)
@@ -159,7 +159,8 @@ sub new_channel
        
        # is he locked out ?
        if ($user->lockout) {
-               Log('DXCommand', "$call is locked out, disconnected");
+               my $host = $conn->{peerhost} || "unknown";
+               Log('DXCommand', "$call on $host is locked out, disconnected");
                $conn->disconnect;
                return;
        }