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

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

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

revision 574 by michael, Thu Mar 23 09:59:02 2006 UTC revision 575 by michael, Mon May 1 11:41:09 2006 UTC
# Line 175  send_caplist(struct Client *sptr, unsign Line 175  send_caplist(struct Client *sptr, unsign
175  {  {
176    char capbuf[IRCD_BUFSIZE] = "", pfx[16];    char capbuf[IRCD_BUFSIZE] = "", pfx[16];
177    char cmdbuf[IRCD_BUFSIZE] = "";    char cmdbuf[IRCD_BUFSIZE] = "";
178    int i, loc, len, flags, pfx_len, clen;    unsigned int i, loc, len, flags, pfx_len, clen;
179    
180    /* set up the buffer for the final LS message... */    /* set up the buffer for the final LS message... */
181    clen = snprintf(cmdbuf, sizeof(capbuf), ":%s CAP %s %s ", me.name,    clen = snprintf(cmdbuf, sizeof(capbuf), ":%s CAP %s %s ", me.name,
# Line 377  cap_list(struct Client *sptr, const char Line 377  cap_list(struct Client *sptr, const char
377    
378  static struct subcmd  static struct subcmd
379  {  {
380    char *cmd;    const char *cmd;
381    int (*proc)(struct Client *sptr, const char *caplist);    int (*proc)(struct Client *sptr, const char *caplist);
382  } cmdlist[] = {  } cmdlist[] = {
383    { "ACK",   cap_ack   },    { "ACK",   cap_ack   },
# Line 385  static struct subcmd Line 385  static struct subcmd
385    { "END",   cap_end   },    { "END",   cap_end   },
386    { "LIST",  cap_list  },    { "LIST",  cap_list  },
387    { "LS",    cap_ls    },    { "LS",    cap_ls    },
388    { "NAK",   0         },    { "NAK",   NULL      },
389    { "REQ",   cap_req   }    { "REQ",   cap_req   }
390  };  };
391    

Legend:
Removed from v.574  
changed lines
  Added in v.575

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