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

Comparing ircd-hybrid/trunk/modules/m_accept.c (file contents):
Revision 8430 by michael, Tue Feb 20 19:30:13 2018 UTC vs.
Revision 8431 by michael, Tue Mar 27 18:49:15 2018 UTC

# Line 90 | Line 90 | list_accepts(struct Client *source_p)
90   static void
91   add_accept(const struct split_nuh_item *nuh, struct Client *source_p)
92   {
93 <  struct split_nuh_item *const accept_p = xcalloc(sizeof(*accept_p));
93 >  struct split_nuh_item *accept_p = xcalloc(sizeof(*accept_p));
94  
95    accept_p->nickptr = xstrdup(nuh->nickptr);
96    accept_p->userptr = xstrdup(nuh->userptr);
# Line 155 | Line 155 | m_accept(struct Client *source_p, int pa
155      }
156      else if (*mask)
157      {
158 <      if (dlink_list_length(&source_p->connection->acceptlist) >=
159 <          ConfigGeneral.max_accept)
158 >      if (dlink_list_length(&source_p->connection->acceptlist) >= ConfigGeneral.max_accept)
159        {
160          sendto_one_numeric(source_p, &me, ERR_ACCEPTFULL);
161          return 0;

Diff Legend

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