- dnsbl.c:dnsbl_report(): add separate DNSBL_REPORT_VERSION definition
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 1 Jan 2015 16:25:09 +0000 (16:25 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 1 Jan 2015 16:25:09 +0000 (16:25 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5257 82007160-df01-0410-b94d-b575c5fd34c7

src/dnsbl.c

index 324b0c2b2a8877b2f17e4162829421fbcdfbc593..3508ab30726a44197d57169a7d5c7513f4678e23 100644 (file)
@@ -232,6 +232,8 @@ dnsbl_cycle(void)
   firedns_cycle();
 }
 
+#define DNSBL_REPORT_VERSION "3.1.3"
+
 /*
  * Send an email to report this open proxy.
  */
@@ -255,7 +257,7 @@ dnsbl_report(struct scan_struct *ss)
            "X-BOPM-Version: %s\n\n"
            "%s: %s:%d\n\n"
            "%s\n", IRCItem->nick, OpmItem->dnsbl_from, OpmItem->dnsbl_to,
-           VERSION, scan_gettype(ss->remote->protocol), ss->ip,
+           DNSBL_REPORT_VERSION, scan_gettype(ss->remote->protocol), ss->ip,
            ss->remote->port, ss->proof);
 
   if (OPT_DEBUG >= 3)