static void mark_services(void);
static void unmark_services(void);
-static int me_su(struct Client *, struct Client *, int, const char **);
-static int me_login(struct Client *, struct Client *, int, const char **);
-static int me_rsfnc(struct Client *, struct Client *, int, const char **);
-static int me_nickdelay(struct Client *, struct Client *, int, const char **);
+static int me_su(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int me_login(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int me_rsfnc(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int me_nickdelay(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static void h_svc_server_introduced(hook_data_client *);
static void h_svc_whois(hook_data_client *);
static void h_svc_conf_read_end(void *);
struct Message su_msgtab = {
- "SU", 0, 0, 0, MFLG_SLOW,
+ "SU", 0, 0, 0, 0,
{mg_ignore, mg_ignore, mg_ignore, mg_ignore, {me_su, 2}, mg_ignore}
};
struct Message login_msgtab = {
- "LOGIN", 0, 0, 0, MFLG_SLOW,
+ "LOGIN", 0, 0, 0, 0,
{mg_ignore, mg_ignore, mg_ignore, mg_ignore, {me_login, 2}, mg_ignore}
};
struct Message rsfnc_msgtab = {
- "RSFNC", 0, 0, 0, MFLG_SLOW,
+ "RSFNC", 0, 0, 0, 0,
{mg_ignore, mg_ignore, mg_ignore, mg_ignore, {me_rsfnc, 4}, mg_ignore}
};
struct Message nickdelay_msgtab = {
- "NICKDELAY", 0, 0, 0, MFLG_SLOW,
+ "NICKDELAY", 0, 0, 0, 0,
{mg_unreg, mg_ignore, mg_ignore, mg_ignore, {me_nickdelay, 3}, mg_ignore}
};
}
static int
-me_su(struct Client *client_p, struct Client *source_p,
+me_su(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
int parc, const char *parv[])
{
struct Client *target_p;
}
static int
-me_login(struct Client *client_p, struct Client *source_p,
+me_login(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
int parc, const char *parv[])
{
if(!IsPerson(source_p))
}
static int
-me_rsfnc(struct Client *client_p, struct Client *source_p,
+me_rsfnc(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
int parc, const char *parv[])
{
struct Client *target_p;
** parv[2] = nick
*/
static int
-me_nickdelay(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+me_nickdelay(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
int duration;
struct nd_entry *nd;