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

Comparing ircd-hybrid-8/src/parse.c (file contents):
Revision 1427 by michael, Thu Jun 7 11:36:21 2012 UTC vs.
Revision 1569 by michael, Tue Oct 16 18:46:53 2012 UTC

# Line 310 | Line 310 | handle_command(struct Message *mptr, str
310  
311    mptr->count++;
312  
313  /* New patch to avoid server flooding from unregistered connects
314   * - Pie-Man 07/27/2000 */
315  if (!IsRegistered(client_p))
316  {
317    /* if its from a possible server connection
318     * ignore it.. more than likely its a header thats sneaked through
319     */
320    if ((IsHandshake(client_p) || IsConnecting(client_p) ||
321        IsServer(client_p)) && !(mptr->flags & MFLG_UNREG))
322      return;
323  }
324
313    handler = mptr->handlers[client_p->handler];
314  
315    /* check right amount of params is passed... --is */

Diff Legend

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