mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
chm_nocolour: add AV2 docs
This commit is contained in:
parent
4d552723ee
commit
4a0944732a
1 changed files with 4 additions and 1 deletions
|
@ -44,6 +44,9 @@ mapi_hfn_list_av1 chm_nocolour_hfnlist[] = {
|
|||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
static const char chm_nocolour_desc[] =
|
||||
"Enables channel mode +c that filters colours and formatting from a channel";
|
||||
|
||||
static void
|
||||
chm_nocolour_process(hook_data_privmsg_channel *data)
|
||||
{
|
||||
|
@ -76,4 +79,4 @@ _moddeinit(void)
|
|||
cflag_orphan('c');
|
||||
}
|
||||
|
||||
DECLARE_MODULE_AV2(chm_nocolour, _modinit, _moddeinit, NULL, NULL, chm_nocolour_hfnlist, NULL, NULL, NULL);
|
||||
DECLARE_MODULE_AV2(chm_nocolour, _modinit, _moddeinit, NULL, NULL, chm_nocolour_hfnlist, NULL, NULL, chm_nocolour_desc);
|
||||
|
|
Loading…
Reference in a new issue