/[svn]/ircd-hybrid/modules/m_cap.c
ViewVC logotype

Diff of /ircd-hybrid/modules/m_cap.c

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

revision 589 by michael, Sun Mar 5 09:26:04 2006 UTC revision 590 by michael, Thu May 11 11:35:07 2006 UTC
# Line 170  send_caplist(struct Client *sptr, unsign Line 170  send_caplist(struct Client *sptr, unsign
170  {  {
171    char capbuf[IRCD_BUFSIZE] = "", pfx[16];    char capbuf[IRCD_BUFSIZE] = "", pfx[16];
172    char cmdbuf[IRCD_BUFSIZE] = "";    char cmdbuf[IRCD_BUFSIZE] = "";
173    int i, loc, len, flags, pfx_len, clen;    unsigned int i = 0, loc = 0, len, flags, pfx_len, clen;
174    
175    /* set up the buffer for the final LS message... */    /* set up the buffer for the final LS message... */
176    clen = snprintf(cmdbuf, sizeof(cmdbuf), ":%s CAP %s %s ", me.name,    clen = snprintf(cmdbuf, sizeof(cmdbuf), ":%s CAP %s %s ", me.name,
177                    sptr->name[0] ? sptr->name : "*", subcmd);                    sptr->name[0] ? sptr->name : "*", subcmd);
178    
179    for (i = 0, loc = 0; i < CAPAB_LIST_LEN; ++i)    for (; i < CAPAB_LIST_LEN; ++i)
180    {    {
181      flags = capab_list[i].flags;      flags = capab_list[i].flags;
182    

Legend:
Removed from v.589  
changed lines
  Added in v.590

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