]> jfr.im git - irc/ircd-hybrid/bopm.git/commitdiff
More hopeful manual check fixes
authorandy <redacted>
Sat, 19 Jan 2002 20:03:03 +0000 (20:03 +0000)
committerandy <redacted>
Sat, 19 Jan 2002 20:03:03 +0000 (20:03 +0000)
scan.c

diff --git a/scan.c b/scan.c
index 7afba4338b971bee440851a73342987ce3b3c1a3..9a6746f6bf62faac5ab8d620f02502709dcf453e 100644 (file)
--- a/scan.c
+++ b/scan.c
@@ -133,6 +133,8 @@ void scan_connect(char *addr, char *irc_addr, char *irc_nick,
                  
            if(conn_notice)
               newconn->conn_notice = strdup(conn_notice);
+           else
+              newconn->conn_notice = 0;
 
             newconn->protocol = &(SCAN_PROTOCOLS[i]); /* Give struct a link to information about the protocol
                                                          it will be handling. */
@@ -703,7 +705,7 @@ void do_manual_check(struct command *c)
    if(CONF_DNSBL_ZONE)
       dnsbl_check(ip, "*", "*", c->param);
 
-   scan_connect(ip, c->param, "*", "*", 1, NULL);    /* Scan using verbose */
+   scan_connect(ip, c->param, "*", "*", 1, 0);    /* Scan using verbose */
                                            
 }