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

Comparing ircd-hybrid-8/src/s_user.c (file contents):
Revision 1165 by michael, Thu Aug 11 18:56:53 2011 UTC vs.
Revision 1176 by michael, Sun Aug 14 11:24:24 2011 UTC

# Line 106 | Line 106 | unsigned int user_modes[256] =
106    0,                  /* O */
107    0,                  /* P */
108    0,                  /* Q */
109 <  0,                  /* R */
109 >  UMODE_REGONLY,      /* R */
110    0,                  /* S */
111    0,                  /* T */
112    0,                  /* U */
# Line 309 | Line 309 | register_local_user(struct Client *sourc
309        return;
310    }
311  
312 <  source_p->localClient->last = CurrentTime;
312 >  source_p->localClient->last_privmsg = CurrentTime;
313    /* Straight up the maximum rate of flooding... */
314    source_p->localClient->allow_read = MAX_FLOOD_BURST;
315  
# Line 508 | Line 508 | register_remote_user(struct Client *sour
508    /*
509     * coming from another server, take the servers word for it
510     */
511 <  source_p->servptr = find_server(server);
511 >  source_p->servptr = hash_find_server(server);
512  
513    /* Super GhostDetect:
514     * If we can't find the server the user is supposed to be on,
# Line 542 | Line 542 | register_remote_user(struct Client *sour
542      return;
543    }
544  
545 +  /*
546 +   * If the nick has been introduced by a services server,
547 +   * make it a service as well.
548 +   */
549 +  if (IsService(source_p->servptr))
550 +    SetService(source_p);
551 +
552    /* Increment our total user count here */
553    if (++Count.total > Count.max_tot)
554      Count.max_tot = Count.total;
# Line 755 | Line 762 | report_and_set_user_flags(struct Client
762                 me.name,source_p->name);
763    }
764  
758  /* If this user is exempt from idle time outs */
759  if (IsConfIdlelined(aconf))
760  {
761    SetIdlelined(source_p);
762    sendto_one(source_p,
763               ":%s NOTICE %s :*** You are exempt from idle limits. congrats.",
764               me.name, source_p->name);
765  }
766
765    if (IsConfCanFlood(aconf))
766    {
767      SetCanFlood(source_p);

Diff Legend

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