/[svn]/ircd-hybrid/src/s_user.c
ViewVC logotype

Diff of /ircd-hybrid/src/s_user.c

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

revision 501 by adx, Sat Feb 18 02:34:20 2006 UTC revision 502 by michael, Fri Mar 3 19:49:25 2006 UTC
# Line 278  register_local_user(struct Client *sourc Line 278  register_local_user(struct Client *sourc
278    assert(source_p != NULL);    assert(source_p != NULL);
279    assert(MyConnect(source_p));    assert(MyConnect(source_p));
280    assert(source_p->username != username);    assert(source_p->username != username);
281      assert(!source_p->localClient->registration);
282    
283    if (ConfigFileEntry.ping_cookie)    if (ConfigFileEntry.ping_cookie)
284    {    {
285      if (!IsPingSent(source_p) &&      if (!IsPingSent(source_p) && !source_p->localClient->random_ping)
        source_p->localClient->random_ping == 0)  
286      {      {
287        source_p->localClient->random_ping = (unsigned long)rand();        source_p->localClient->random_ping = (unsigned long)rand();
288        sendto_one(source_p, "PING :%lu",        sendto_one(source_p, "PING :%lu",

Legend:
Removed from v.501  
changed lines
  Added in v.502

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