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

Comparing ircd-hybrid-7.2/modules/m_cryptlink.c (file contents):
Revision 884 by lusky, Sun Oct 2 21:05:51 2005 UTC vs.
Revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC

# Line 353 | Line 353 | cryptlink_serv(struct Client *client_p,
353      return;
354    }
355  
356  if (ServerInfo.hub && IsCapable(client_p, CAP_LL))
357  {
358      if (IsCapable(client_p, CAP_HUB))
359      {
360          ClearCap(client_p,CAP_LL);
361          sendto_realops_flags(UMODE_ALL, L_ALL,
362               "*** LazyLinks to a hub from a hub, that's a no-no.");
363      }
364      else
365      {
366          client_p->localClient->serverMask = nextFreeMask();
367
368          if(!client_p->localClient->serverMask)
369          {
370              sendto_realops_flags(UMODE_ALL, L_ALL,
371                                   "serverMask is full!");
372              /* try and negotiate a non LL connect */
373              ClearCap(client_p,CAP_LL);
374          }
375      }
376  }
377  else if (IsCapable(client_p, CAP_LL))
378  {
379      if (!IsCapable(client_p, CAP_HUB))
380      {
381        ClearCap(client_p,CAP_LL);
382        sendto_realops_flags(UMODE_ALL, L_ALL,
383          "*** LazyLinks to a leaf from a leaf, that's a no-no.");
384      }
385  }
386
356    conf = find_conf_name(&client_p->localClient->confs,
357                          name, SERVER_TYPE);
358    if (conf == NULL)
# Line 452 | Line 421 | cryptlink_serv(struct Client *client_p,
421    MyFree(encrypted);
422  
423    if (!IsWaitAuth(client_p))
455  {
424      cryptlink_init(client_p, conf, NULL);
457  }
425  
426    sendto_one(client_p, "CRYPTLINK AUTH %s %s",
427               client_p->localClient->out_cipher->name,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines