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

Comparing ircd-hybrid/trunk/modules/m_accept.c (file contents):
Revision 1832 by michael, Fri Apr 19 19:16:09 2013 UTC vs.
Revision 1834 by michael, Fri Apr 19 19:50:27 2013 UTC

# Line 63 | Line 63 | list_accepts(struct Client *source_p)
63      if ((t - nicks) + masklen + len  > IRCD_BUFSIZE)
64      {
65        *(t - 1) = '\0';
66 <      sendto_one(source_p, RPL_ACCEPTLIST,
66 >      sendto_one(source_p, form_str(RPL_ACCEPTLIST),
67                   me.name, source_p->name, nicks);
68        t = nicks;
69      }
# Line 76 | Line 76 | list_accepts(struct Client *source_p)
76    if (nicks[0] != '\0')
77    {
78      *(t - 1) = '\0';
79 <    sendto_one(source_p, RPL_ACCEPTLIST,
79 >    sendto_one(source_p, form_str(RPL_ACCEPTLIST),
80                 me.name, source_p->name, nicks);
81    }
82  
83 <  sendto_one(source_p, RPL_ENDOFACCEPT,
83 >  sendto_one(source_p, form_str(RPL_ENDOFACCEPT),
84               me.name, source_p->name);
85   }
86  
# Line 153 | Line 153 | m_accept(struct Client *client_p, struct
153  
154        if ((accept_p = find_accept(nick, user, host, source_p, 0)) == NULL)
155        {
156 <        sendto_one(source_p, ERR_ACCEPTNOT,
156 >        sendto_one(source_p, form_str(ERR_ACCEPTNOT),
157                     me.name, source_p->name, nick, user, host);
158          continue;
159        }
# Line 165 | Line 165 | m_accept(struct Client *client_p, struct
165        if (dlink_list_length(&source_p->localClient->acceptlist) >=
166            ConfigFileEntry.max_accept)
167        {
168 <        sendto_one(source_p, ERR_ACCEPTFULL,
168 >        sendto_one(source_p, form_str(ERR_ACCEPTFULL),
169                     me.name, source_p->name);
170          return;
171        }
# Line 183 | Line 183 | m_accept(struct Client *client_p, struct
183  
184        if ((accept_p = find_accept(nick, user, host, source_p, 0)) != NULL)
185        {
186 <        sendto_one(source_p, ERR_ACCEPTEXIST,
186 >        sendto_one(source_p, form_str(ERR_ACCEPTEXIST),
187                     me.name, source_p->name, nick, user, host);
188          continue;
189        }

Diff Legend

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