ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/server.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/s_serv.c (file contents):
Revision 2227 by michael, Thu Jun 6 17:35:45 2013 UTC vs.
Revision 2228 by michael, Thu Jun 13 19:46:30 2013 UTC

# Line 407 | Line 407 | check_server(const char *name, struct Cl
407        if (!match_conf_password(client_p->localClient->passwd, conf))
408          return -2;
409  
410 +      if (!EmptyString(conf->certfp))
411 +        if (client_p->certfp[0] == '\0' || strcasecmp(client_p->certfp, conf->certfp))
412 +          return -4;
413 +
414        server_conf = conf;
415      }
416    }
# Line 616 | Line 620 | sendnick_TS(struct Client *client_p, str
620                   target_p->servptr->name, target_p->info);
621    }
622  
623 +  if (target_p->certfp[0])
624 +    sendto_one(client_p, ":%s CERTFP %s",
625 +               ID_or_name(target_p, client_p), target_p->certfp);
626 +
627    if (target_p->away[0])
628      sendto_one(client_p, ":%s AWAY :%s", ID_or_name(target_p, client_p),
629                 target_p->away);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)