]> jfr.im git - irc/ircd-hybrid/bopm.git/commitdiff
logic error type thing
authordgl <redacted>
Sat, 26 Oct 2002 16:02:08 +0000 (16:02 +0000)
committerdgl <redacted>
Sat, 26 Oct 2002 16:02:08 +0000 (16:02 +0000)
src/scan.c

index 7737144fdf47c9ed29c11c18251e8f387dbd75bb..87cb92978f80ceefd9394ad9873bbcea8113bba2 100644 (file)
@@ -525,7 +525,7 @@ static void scan_negfail_next(scan_struct *conn)
 
     for (i = 0; i < SCAN_NUMPROTOCOLS; i++) {
        if(SCAN_PROTOCOLS[i].stage != 1 ||
-               SCAN_PROTOCOLS[i].port == conn->protocol->port)
+               SCAN_PROTOCOLS[i].port != conn->protocol->port)
            continue;
 
        /* Let people know what's happening */