summaryrefslogtreecommitdiff
path: root/modules/m_ison.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_ison.c')
-rw-r--r--modules/m_ison.c29
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}