mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
Bump all extensions to AV2
Most do not yet have descriptions, but that's trivial.
This commit is contained in:
parent
581dad19a4
commit
04f832b778
53 changed files with 53 additions and 53 deletions
|
@ -23,7 +23,7 @@ mapi_hfn_list_av1 restrict_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(createauthonly, NULL, NULL, NULL, NULL, restrict_hfnlist, "$Revision: 833 $");
|
DECLARE_MODULE_AV2(createauthonly, NULL, NULL, NULL, NULL, restrict_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
h_can_create_channel_authenticated(hook_data_client_approval *data)
|
h_can_create_channel_authenticated(hook_data_client_approval *data)
|
||||||
|
|
|
@ -23,7 +23,7 @@ mapi_hfn_list_av1 restrict_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(createoperonly, NULL, NULL, NULL, NULL, restrict_hfnlist, "$Revision: 3476 $");
|
DECLARE_MODULE_AV2(createoperonly, NULL, NULL, NULL, NULL, restrict_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
h_can_create_channel_authenticated(hook_data_client_approval *data)
|
h_can_create_channel_authenticated(hook_data_client_approval *data)
|
||||||
|
|
|
@ -142,7 +142,7 @@ DECLARE_MODULE_AV1(
|
||||||
/* Then the hook function list, if we have one */
|
/* Then the hook function list, if we have one */
|
||||||
test_hfnlist,
|
test_hfnlist,
|
||||||
/* And finally the version number of this module. */
|
/* And finally the version number of this module. */
|
||||||
"$Revision: 3161 $");
|
NULL);
|
||||||
|
|
||||||
/* Any of the above arguments can be NULL to indicate they aren't used. */
|
/* Any of the above arguments can be NULL to indicate they aren't used. */
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ static int _modinit(void);
|
||||||
static void _moddeinit(void);
|
static void _moddeinit(void);
|
||||||
static int eb_account(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
static int eb_account(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extb_account, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision: 1299 $");
|
DECLARE_MODULE_AV2(extb_account, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -15,7 +15,7 @@ static int _modinit(void);
|
||||||
static void _moddeinit(void);
|
static void _moddeinit(void);
|
||||||
static int eb_canjoin(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
static int eb_canjoin(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extb_canjoin, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision: 1841 $");
|
DECLARE_MODULE_AV2(extb_canjoin, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -14,7 +14,7 @@ static int _modinit(void);
|
||||||
static void _moddeinit(void);
|
static void _moddeinit(void);
|
||||||
static int eb_channel(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
static int eb_channel(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extb_channel, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision: 1723 $");
|
DECLARE_MODULE_AV2(extb_channel, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -53,7 +53,7 @@ static int eb_and(const char *data, struct Client *client_p, struct Channel *chp
|
||||||
static int eb_combi(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type, int is_and);
|
static int eb_combi(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type, int is_and);
|
||||||
static int recursion_depth = 0;
|
static int recursion_depth = 0;
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extb_extended, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision: 1 $");
|
DECLARE_MODULE_AV2(extb_extended, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -13,7 +13,7 @@ static int _modinit(void);
|
||||||
static void _moddeinit(void);
|
static void _moddeinit(void);
|
||||||
static int eb_extended(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
static int eb_extended(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extb_extended, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision: 1339 $");
|
DECLARE_MODULE_AV2(extb_extended, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -13,7 +13,7 @@ static int _modinit(void);
|
||||||
static void _moddeinit(void);
|
static void _moddeinit(void);
|
||||||
static int eb_hostmask(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
static int eb_hostmask(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extb_hostmask, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision: 1299 $");
|
DECLARE_MODULE_AV2(extb_hostmask, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -14,7 +14,7 @@ static int _modinit(void);
|
||||||
static void _moddeinit(void);
|
static void _moddeinit(void);
|
||||||
static int eb_oper(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
static int eb_oper(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extb_oper, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision: 1299 $");
|
DECLARE_MODULE_AV2(extb_oper, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -12,7 +12,7 @@ static int _modinit(void);
|
||||||
static void _moddeinit(void);
|
static void _moddeinit(void);
|
||||||
static int eb_realname(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
static int eb_realname(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extb_realname, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision: 1299 $");
|
DECLARE_MODULE_AV2(extb_realname, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -12,7 +12,7 @@ static int _modinit(void);
|
||||||
static void _moddeinit(void);
|
static void _moddeinit(void);
|
||||||
static int eb_server(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
static int eb_server(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extb_server, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision: 1299 $");
|
DECLARE_MODULE_AV2(extb_server, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -9,7 +9,7 @@ static int _modinit(void);
|
||||||
static void _moddeinit(void);
|
static void _moddeinit(void);
|
||||||
static int eb_ssl(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
static int eb_ssl(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extb_ssl, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision$");
|
DECLARE_MODULE_AV2(extb_ssl, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -19,7 +19,7 @@ static int _modinit(void);
|
||||||
static void _moddeinit(void);
|
static void _moddeinit(void);
|
||||||
static int eb_usermode(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
static int eb_usermode(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extb_usermode, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision: 1299 $");
|
DECLARE_MODULE_AV2(extb_usermode, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -22,7 +22,7 @@ mapi_hfn_list_av1 noi_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(force_user_invis, NULL, NULL, NULL, NULL, noi_hfnlist, "1.0.0");
|
DECLARE_MODULE_AV2(force_user_invis, NULL, NULL, NULL, NULL, noi_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
h_noi_umode_changed(hook_data_umode_changed *hdata)
|
h_noi_umode_changed(hook_data_umode_changed *hdata)
|
||||||
|
|
|
@ -200,4 +200,4 @@ h_hdl_whois(hook_data_client *hdata)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(helpops, _modinit, _moddeinit, helpops_clist, NULL, helpops_hfnlist, "");
|
DECLARE_MODULE_AV2(helpops, _modinit, _moddeinit, helpops_clist, NULL, helpops_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
|
@ -19,7 +19,7 @@ mapi_hfn_list_av1 huc_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(hide_uncommon_channels, NULL, NULL, NULL, NULL, huc_hfnlist, "");
|
DECLARE_MODULE_AV2(hide_uncommon_channels, NULL, NULL, NULL, NULL, huc_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
h_huc_doing_whois_channel_visibility(hook_data_client *hdata)
|
h_huc_doing_whois_channel_visibility(hook_data_client *hdata)
|
||||||
|
|
|
@ -113,7 +113,7 @@ DECLARE_MODULE_AV1(
|
||||||
hurt_clist,
|
hurt_clist,
|
||||||
NULL,
|
NULL,
|
||||||
hurt_hfnlist,
|
hurt_hfnlist,
|
||||||
"$Revision: 3161 $"
|
NULL
|
||||||
);
|
);
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ mapi_hfn_list_av1 ip_cloaking_hfnlist[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
||||||
ip_cloaking_hfnlist, "$Revision: 3526 $");
|
ip_cloaking_hfnlist, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
distribute_hostchange(struct Client *client_p, char *newhost)
|
distribute_hostchange(struct Client *client_p, char *newhost)
|
||||||
|
|
|
@ -40,7 +40,7 @@ mapi_hfn_list_av1 ip_cloaking_hfnlist[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
||||||
ip_cloaking_hfnlist, "$Revision: 3526 $");
|
ip_cloaking_hfnlist, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
distribute_hostchange(struct Client *client_p, char *newhost)
|
distribute_hostchange(struct Client *client_p, char *newhost)
|
||||||
|
|
|
@ -44,7 +44,7 @@ mapi_hfn_list_av1 ip_cloaking_hfnlist[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
||||||
ip_cloaking_hfnlist, "$Revision: 3526 $");
|
ip_cloaking_hfnlist, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
distribute_hostchange(struct Client *client_p, char *newhost)
|
distribute_hostchange(struct Client *client_p, char *newhost)
|
||||||
|
|
|
@ -40,7 +40,7 @@ mapi_hfn_list_av1 ip_cloaking_hfnlist[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
||||||
ip_cloaking_hfnlist, "$Revision: 3522 $");
|
ip_cloaking_hfnlist, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
distribute_hostchange(struct Client *client_p, char *newhost)
|
distribute_hostchange(struct Client *client_p, char *newhost)
|
||||||
|
|
|
@ -21,7 +21,7 @@ struct Message hgtg_msgtab = {
|
||||||
mapi_clist_av1 hgtg_clist[] = { &hgtg_msgtab, NULL };
|
mapi_clist_av1 hgtg_clist[] = { &hgtg_msgtab, NULL };
|
||||||
|
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(42, NULL, NULL, hgtg_clist, NULL, NULL, "Revision 0.42");
|
DECLARE_MODULE_AV2(42, NULL, NULL, hgtg_clist, NULL, NULL, NULL, "42", NULL);
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
@ -47,7 +47,7 @@ struct Message adminwall_msgtab = {
|
||||||
|
|
||||||
|
|
||||||
mapi_clist_av1 adminwall_clist[] = { &adminwall_msgtab, NULL };
|
mapi_clist_av1 adminwall_clist[] = { &adminwall_msgtab, NULL };
|
||||||
DECLARE_MODULE_AV1(adminwall, NULL, NULL, adminwall_clist, NULL, NULL, "$Revision: 20702 $");
|
DECLARE_MODULE_AV2(adminwall, NULL, NULL, adminwall_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -13,7 +13,7 @@ struct Message echotags_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 echotags_clist[] = { &echotags_msgtab, NULL };
|
mapi_clist_av1 echotags_clist[] = { &echotags_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(echotags, NULL, NULL, echotags_clist, NULL, NULL, "$Id$");
|
DECLARE_MODULE_AV2(echotags, NULL, NULL, echotags_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
m_echotags(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
m_echotags(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||||
|
|
|
@ -41,7 +41,7 @@ struct Message extendchans_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 extendchans_clist[] = { &extendchans_msgtab, NULL };
|
mapi_clist_av1 extendchans_clist[] = { &extendchans_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(extendchans, NULL, NULL, extendchans_clist, NULL, NULL, "$Revision: $");
|
DECLARE_MODULE_AV2(extendchans, NULL, NULL, extendchans_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
mo_extendchans(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
mo_extendchans(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||||
|
|
|
@ -44,7 +44,7 @@ struct Message findforwards_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 findforwards_clist[] = { &findforwards_msgtab, NULL };
|
mapi_clist_av1 findforwards_clist[] = { &findforwards_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(findforwards, NULL, NULL, findforwards_clist, NULL, NULL, "$Revision: 986 $");
|
DECLARE_MODULE_AV2(findforwards, NULL, NULL, findforwards_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** mo_findforwards
|
** mo_findforwards
|
||||||
|
|
|
@ -59,7 +59,7 @@ mapi_clist_av1 identify_clist[] = {
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(identify, NULL, NULL, identify_clist, NULL, NULL, "$Revision: 2729 $");
|
DECLARE_MODULE_AV2(identify, NULL, NULL, identify_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int m_identify(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
static int m_identify(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,7 +36,7 @@ struct Message mkpasswd_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 mkpasswd_clist[] = { &mkpasswd_msgtab, NULL };
|
mapi_clist_av1 mkpasswd_clist[] = { &mkpasswd_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(mkpasswd, NULL, NULL, mkpasswd_clist, NULL, NULL, "$Revision$");
|
DECLARE_MODULE_AV2(mkpasswd, NULL, NULL, mkpasswd_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
|
||||||
/* m_mkpasswd - mkpasswd message handler
|
/* m_mkpasswd - mkpasswd message handler
|
||||||
|
|
|
@ -45,7 +45,7 @@ struct Message ojoin_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 ojoin_clist[] = { &ojoin_msgtab, NULL };
|
mapi_clist_av1 ojoin_clist[] = { &ojoin_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(ojoin, NULL, NULL, ojoin_clist, NULL, NULL, "$Revision: 3554 $");
|
DECLARE_MODULE_AV2(ojoin, NULL, NULL, ojoin_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** mo_ojoin
|
** mo_ojoin
|
||||||
|
|
|
@ -48,7 +48,7 @@ struct Message okick_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 okick_clist[] = { &okick_msgtab, NULL };
|
mapi_clist_av1 okick_clist[] = { &okick_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(okick, NULL, NULL, okick_clist, NULL, NULL, "$Revision: 3554 $");
|
DECLARE_MODULE_AV2(okick, NULL, NULL, okick_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** m_okick
|
** m_okick
|
||||||
|
|
|
@ -51,7 +51,7 @@ struct Message omode_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 omode_clist[] = { &omode_msgtab, NULL };
|
mapi_clist_av1 omode_clist[] = { &omode_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(omode, NULL, NULL, omode_clist, NULL, NULL, "$Revision: 3121 $");
|
DECLARE_MODULE_AV2(omode, NULL, NULL, omode_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* mo_omode - MODE command handler
|
* mo_omode - MODE command handler
|
||||||
|
|
|
@ -43,7 +43,7 @@ struct Message opme_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 opme_clist[] = { &opme_msgtab, NULL };
|
mapi_clist_av1 opme_clist[] = { &opme_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(opme, NULL, NULL, opme_clist, NULL, NULL, "$Revision: 3554 $");
|
DECLARE_MODULE_AV2(opme, NULL, NULL, opme_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -95,7 +95,7 @@ struct Message roleplay_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 roleplay_clist[] = { &scene_msgtab, &ambiance_msgtab, &fsay_msgtab, &faction_msgtab, &npc_msgtab, &npca_msgtab, &roleplay_msgtab, NULL };
|
mapi_clist_av1 roleplay_clist[] = { &scene_msgtab, &ambiance_msgtab, &fsay_msgtab, &faction_msgtab, &npc_msgtab, &npca_msgtab, &roleplay_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(roleplay, _modinit, _moddeinit, roleplay_clist, NULL, NULL, "$m_roleplay$");
|
DECLARE_MODULE_AV2(roleplay, _modinit, _moddeinit, roleplay_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
m_scene(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
m_scene(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||||
|
|
|
@ -57,7 +57,7 @@ mapi_clist_av1 sendbans_clist[] = {
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(sendbans, NULL, NULL, sendbans_clist, NULL, NULL, "$Revision$");
|
DECLARE_MODULE_AV2(sendbans, NULL, NULL, sendbans_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
static const char *expand_xline(const char *mask)
|
static const char *expand_xline(const char *mask)
|
||||||
{
|
{
|
||||||
|
|
|
@ -61,7 +61,7 @@ struct Message webirc_msgtab = {
|
||||||
};
|
};
|
||||||
|
|
||||||
mapi_clist_av1 webirc_clist[] = { &webirc_msgtab, NULL };
|
mapi_clist_av1 webirc_clist[] = { &webirc_msgtab, NULL };
|
||||||
DECLARE_MODULE_AV1(webirc, NULL, NULL, webirc_clist, NULL, NULL, "$Revision: 20702 $");
|
DECLARE_MODULE_AV2(webirc, NULL, NULL, webirc_clist, NULL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* mr_webirc - webirc message handler
|
* mr_webirc - webirc message handler
|
||||||
|
|
|
@ -19,7 +19,7 @@ mapi_hfn_list_av1 nl_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(no_locops, NULL, NULL, NULL, NULL, nl_hfnlist, "$Revision: 3219 $");
|
DECLARE_MODULE_AV2(no_locops, NULL, NULL, NULL, NULL, nl_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
h_nl_umode_changed(hook_data_umode_changed *hdata)
|
h_nl_umode_changed(hook_data_umode_changed *hdata)
|
||||||
|
|
|
@ -20,7 +20,7 @@ mapi_hfn_list_av1 noi_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(no_oper_invis, NULL, NULL, NULL, NULL, noi_hfnlist, "$Revision: 3219 $");
|
DECLARE_MODULE_AV2(no_oper_invis, NULL, NULL, NULL, NULL, noi_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
h_noi_umode_changed(hook_data_umode_changed *hdata)
|
h_noi_umode_changed(hook_data_umode_changed *hdata)
|
||||||
|
|
|
@ -278,4 +278,4 @@ _moddeinit(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(override, _modinit, _moddeinit, NULL, NULL,
|
DECLARE_MODULE_AV1(override, _modinit, _moddeinit, NULL, NULL,
|
||||||
override_hfnlist, "$Revision: 3526 $");
|
override_hfnlist, NULL);
|
||||||
|
|
|
@ -36,4 +36,4 @@ hack_channel_access(void *vdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(restrict_unauthenticated, NULL, NULL, NULL, NULL,
|
DECLARE_MODULE_AV1(restrict_unauthenticated, NULL, NULL, NULL, NULL,
|
||||||
restrict_unauthenticated_hfnlist, "$Revision: 3526 $");
|
restrict_unauthenticated_hfnlist, NULL);
|
||||||
|
|
|
@ -21,7 +21,7 @@ mapi_hfn_list_av1 scc_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(sno_channelcreate, _modinit, _moddeinit, NULL, NULL, scc_hfnlist, "$Revision: 639 $");
|
DECLARE_MODULE_AV2(sno_channelcreate, _modinit, _moddeinit, NULL, NULL, scc_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -26,7 +26,7 @@ mapi_hfn_list_av1 gcn_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(globalconnexit, _modinit, _moddeinit, NULL, NULL, gcn_hfnlist, "$Revision: 1869 $");
|
DECLARE_MODULE_AV2(globalconnexit, _modinit, _moddeinit, NULL, NULL, gcn_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -22,7 +22,7 @@ mapi_hfn_list_av1 gla_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(globallineactive, NULL, NULL, NULL, NULL, gla_hfnlist, "$Revision: 613 $");
|
DECLARE_MODULE_AV2(globallineactive, NULL, NULL, NULL, NULL, gla_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
h_gla_client_exit(hook_data_client_exit *hdata)
|
h_gla_client_exit(hook_data_client_exit *hdata)
|
||||||
|
|
|
@ -19,7 +19,7 @@ mapi_hfn_list_av1 gcn_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(globalnickchange, _modinit, NULL, NULL, NULL, gcn_hfnlist, "$Revision: 1869 $");
|
DECLARE_MODULE_AV2(globalnickchange, _modinit, NULL, NULL, NULL, gcn_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_modinit(void)
|
_modinit(void)
|
||||||
|
|
|
@ -18,7 +18,7 @@ mapi_hfn_list_av1 sgo_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(sno_globaloper, NULL, NULL, NULL, NULL, sgo_hfnlist, "$Revision: 639 $");
|
DECLARE_MODULE_AV2(sno_globaloper, NULL, NULL, NULL, NULL, sgo_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
h_sgo_umode_changed(void *vdata)
|
h_sgo_umode_changed(void *vdata)
|
||||||
|
|
|
@ -38,7 +38,7 @@ fini(void)
|
||||||
snomask_modes['W'] = 0;
|
snomask_modes['W'] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(sno_whois, init, fini, NULL, NULL, whois_hfnlist, "$Revision: 3498 $");
|
DECLARE_MODULE_AV2(sno_whois, init, fini, NULL, NULL, whois_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
void
|
void
|
||||||
show_whois(hook_data_client *data)
|
show_whois(hook_data_client *data)
|
||||||
|
|
|
@ -33,7 +33,7 @@ mapi_hfn_list_av1 admin_hfnlist[] = {
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(admin_spy, NULL, NULL, NULL, NULL, admin_hfnlist, "$Revision: 498 $");
|
DECLARE_MODULE_AV2(admin_spy, NULL, NULL, NULL, NULL, admin_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
void
|
void
|
||||||
show_admin(hook_data *data)
|
show_admin(hook_data *data)
|
||||||
|
|
|
@ -33,7 +33,7 @@ mapi_hfn_list_av1 info_hfnlist[] = {
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(info_spy, NULL, NULL, NULL, NULL, info_hfnlist, "$Revision: 498 $");
|
DECLARE_MODULE_AV2(info_spy, NULL, NULL, NULL, NULL, info_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
void
|
void
|
||||||
show_info(hook_data *data)
|
show_info(hook_data *data)
|
||||||
|
|
|
@ -33,7 +33,7 @@ mapi_hfn_list_av1 links_hfnlist[] = {
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(links_spy, NULL, NULL, NULL, NULL, links_hfnlist, "$Revision: 498 $");
|
DECLARE_MODULE_AV2(links_spy, NULL, NULL, NULL, NULL, links_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
void
|
void
|
||||||
show_links(hook_data *data)
|
show_links(hook_data *data)
|
||||||
|
|
|
@ -33,7 +33,7 @@ mapi_hfn_list_av1 motd_hfnlist[] = {
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(motd_spy, NULL, NULL, NULL, NULL, motd_hfnlist, "$Revision: 498 $");
|
DECLARE_MODULE_AV2(motd_spy, NULL, NULL, NULL, NULL, motd_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
void
|
void
|
||||||
show_motd(hook_data *data)
|
show_motd(hook_data *data)
|
||||||
|
|
|
@ -33,7 +33,7 @@ mapi_hfn_list_av1 stats_hfnlist[] = {
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(stats_spy, NULL, NULL, NULL, NULL, stats_hfnlist, "$Revision: 498 $");
|
DECLARE_MODULE_AV2(stats_spy, NULL, NULL, NULL, NULL, stats_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
void
|
void
|
||||||
show_stats(hook_data_int *data)
|
show_stats(hook_data_int *data)
|
||||||
|
|
|
@ -33,7 +33,7 @@ mapi_hfn_list_av1 stats_p_hfnlist[] = {
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(stats_p_spy, NULL, NULL, NULL, NULL, stats_p_hfnlist, "$Revision: 498 $");
|
DECLARE_MODULE_AV2(stats_p_spy, NULL, NULL, NULL, NULL, stats_p_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
void
|
void
|
||||||
show_stats_p(hook_data *data)
|
show_stats_p(hook_data *data)
|
||||||
|
|
|
@ -33,7 +33,7 @@ mapi_hfn_list_av1 trace_hfnlist[] = {
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(trace_spy, NULL, NULL, NULL, NULL, trace_hfnlist, "$Revision: 498 $");
|
DECLARE_MODULE_AV2(trace_spy, NULL, NULL, NULL, NULL, trace_hfnlist, NULL, NULL, NULL);
|
||||||
|
|
||||||
void
|
void
|
||||||
show_trace(hook_data_client *data)
|
show_trace(hook_data_client *data)
|
||||||
|
|
Loading…
Reference in a new issue