/[svn]/ircd-hybrid/branches/8.1.x/modules/m_ison.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.1.x/modules/m_ison.c

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

revision 2099 by michael, Thu Apr 25 18:01:53 2013 UTC revision 2100 by michael, Sun May 19 11:00:50 2013 UTC
# Line 32  Line 32 
32  #include "modules.h"  #include "modules.h"
33    
34    
35    /*
36     * m_ison added by Darren Reed 13/8/91 to act as an efficent user indicator
37     * with respect to cpu/bandwidth used. Implemented for NOTIFY feature in
38     * clients. Designed to reduce number of whois requests. Can process
39     * nicknames in batches as long as the maximum buffer length.
40     *
41     * format:
42     * ISON :nicklist
43     */
44  static void  static void
45  do_ison(struct Client *client_p, struct Client *source_p,  m_ison(struct Client *client_p, struct Client *source_p,
46          const int parc, char *parv[])         int parc, char *parv[])
47  {  {
48    struct Client *target_p = NULL;    struct Client *target_p = NULL;
49    char *nick;    char *nick;
# Line 89  do_ison(struct Client *client_p, struct Line 98  do_ison(struct Client *client_p, struct
98    sendto_one(source_p, "%s", buf);    sendto_one(source_p, "%s", buf);
99  }  }
100    
 /*  
  * m_ison added by Darren Reed 13/8/91 to act as an efficent user indicator  
  * with respect to cpu/bandwidth used. Implemented for NOTIFY feature in  
  * clients. Designed to reduce number of whois requests. Can process  
  * nicknames in batches as long as the maximum buffer length.  
  *  
  * format:  
  * ISON :nicklist  
  */  
 static void  
 m_ison(struct Client *client_p, struct Client *source_p,  
        int parc, char *parv[])  
 {  
   do_ison(client_p, source_p, parc, parv);  
 }  
   
101  static struct Message ison_msgtab = {  static struct Message ison_msgtab = {
102    "ISON", 0, 0, 2, 1, MFLG_SLOW, 0,    "ISON", 0, 0, 2, 1, MFLG_SLOW, 0,
103    {m_unregistered, m_ison, m_ignore, m_ignore, m_ison, m_ignore}    {m_unregistered, m_ison, m_ignore, m_ignore, m_ison, m_ignore}

Legend:
Removed from v.2099  
changed lines
  Added in v.2100

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