diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-19 11:00:50 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-19 11:00:50 +0000 |
commit | f44138a2a83f0af84c5e054f6704306a16c204c3 (patch) | |
tree | e2c1c9c9154cbc6e3b3a0fca8d2e821878d7d616 /modules | |
parent | b84031518357637e4f328e1d6f37b9d19a0d39b5 (diff) |
- m_ison.c: merge do_ison() into m_ison()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2100 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r-- | modules/m_ison.c | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/modules/m_ison.c b/modules/m_ison.c index e8966bb..96e30e3 100644 --- a/modules/m_ison.c +++ b/modules/m_ison.c @@ -32,9 +32,18 @@ #include "modules.h" +/* + * 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 -do_ison(struct Client *client_p, struct Client *source_p, - const int parc, char *parv[]) +m_ison(struct Client *client_p, struct Client *source_p, + int parc, char *parv[]) { struct Client *target_p = NULL; char *nick; @@ -89,22 +98,6 @@ do_ison(struct Client *client_p, struct Client *source_p, sendto_one(source_p, "%s", buf); } -/* - * 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); -} - static struct Message ison_msgtab = { "ISON", 0, 0, 2, 1, MFLG_SLOW, 0, {m_unregistered, m_ison, m_ignore, m_ignore, m_ison, m_ignore} |