/[svn]/ircd-hybrid/trunk/modules/core/m_server.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/modules/core/m_server.c

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

revision 4611 by michael, Tue Sep 2 08:35:35 2014 UTC revision 4612 by michael, Tue Sep 2 08:55:13 2014 UTC
# Line 254  server_estab(struct Client *client_p) Line 254  server_estab(struct Client *client_p)
254    MyFree(client_p->connection->password);    MyFree(client_p->connection->password);
255    client_p->connection->password = NULL;    client_p->connection->password = NULL;
256    
257    /* If there is something in the serv_list, it might be this    if (!ConfigServerInfo.hub && dlink_list_length(&local_server_list))
    * connecting server..  
    */  
   if (!ConfigServerInfo.hub && local_server_list.head)  
258    {    {
259      if (client_p != local_server_list.head->data || local_server_list.head->next)      ++ServerStats.is_ref;
260      {      exit_client(client_p, "I'm a leaf not a hub");
261        ++ServerStats.is_ref;      return;
       exit_client(client_p, "I'm a leaf not a hub");  
       return;  
     }  
262    }    }
263    
264    if (IsUnknown(client_p))    if (IsUnknown(client_p))

Legend:
Removed from v.4611  
changed lines
  Added in v.4612

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28