ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/branches/1.1.x/src/dnsbl.c
(Generate patch)

Comparing hopm/branches/1.1.x/src/dnsbl.c (file contents):
Revision 8117 by michael, Sun Apr 2 18:22:26 2017 UTC vs.
Revision 8118 by michael, Sun Apr 2 20:27:49 2017 UTC

# Line 177 | Line 177 | dnsbl_positive(struct scan_struct *ss, s
177      /* Only report it if no other scans have found positives yet. */
178      scan_positive(ss, (bl->kline[0] ? bl->kline : IRCItem->kline), text_type);
179  
180 <    irc_send_channels("DNSBL -> %s!%s@%s appears in BL zone %s (%s)",
181 <                      ss->irc_nick, ss->irc_username, ss->irc_hostname, bl->name,
180 >    irc_send_channels("DNSBL -> %s!%s@%s [%s] appears in BL zone %s (%s)",
181 >                      ss->irc_nick, ss->irc_username, ss->irc_hostname, ss->ip, bl->name,
182                        text_type);
183 <    log_printf("DNSBL -> %s!%s@%s appears in BL zone %s (%s)",
184 <               ss->irc_nick, ss->irc_username, ss->irc_hostname, bl->name,
183 >    log_printf("DNSBL -> %s!%s@%s [%s] appears in BL zone %s (%s)",
184 >               ss->irc_nick, ss->irc_username, ss->irc_hostname,ss->ip, bl->name,
185                 text_type);
186    }
187  
# Line 221 | Line 221 | dnsbl_result(struct firedns_result *res)
221    {
222      if (ds->ss->manual_target)
223        irc_send("PRIVMSG %s :CHECK -> DNSBL -> %s does not appear in BL zone %s",
224 <               ds->ss->manual_target->name, ds->ss->ip,
225 <               (strlen(ds->ss->ip) < strlen(res->lookup)) ? (res->lookup + strlen(ds->ss->ip) + 1) : res->lookup);
224 >               ds->ss->manual_target->name, ds->ss->ip, ds->bl->name);
225  
226      --ds->ss->scans;  /* We are done with ss here */
227      scan_checkfinished(ds->ss);  /* This could free ss, don't use ss after this point */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines