/[cvs]/eggdrop1.8/src/dcc.c
ViewVC logotype

Diff of /eggdrop1.8/src/dcc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.5 by pseudo, Wed Oct 20 13:07:13 2010 UTC revision 1.6 by pseudo, Sun Oct 31 14:40:38 2010 UTC
# Line 1540  static void dcc_telnet_pass(int idx, int Line 1540  static void dcc_telnet_pass(int idx, int
1540      /* Get the fingerprint of the user, if set */      /* Get the fingerprint of the user, if set */
1541      uf = get_user(&USERENTRY_FPRINT, dcc[idx].user);      uf = get_user(&USERENTRY_FPRINT, dcc[idx].user);
1542      if (cf && uf && !strcasecmp(cf, uf)) {      if (cf && uf && !strcasecmp(cf, uf)) {
1543          char fakepass[2] = "+";
1544    
1545        if (!glob_bot(fr))        if (!glob_bot(fr))
1546          dprintf(idx, "Used your fingerprint for automatic authentication.\n");          dprintf(idx, "Used your fingerprint for automatic authentication.\n");
1547        dcc[idx].status |= STAT_FPRINT;        dcc[idx].status |= STAT_FPRINT;
1548        dcc_chat_pass(idx, "+", 1);        dcc_chat_pass(idx, fakepass, 1);
1549        return;        return;
1550      /* Required? */      /* Required? */
1551      } else if (tls_auth == 2) {      } else if (tls_auth == 2) {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23