filter: correct type for modinit
This commit is contained in:
parent
9fe8bccba0
commit
eb06afc3fa
1 changed files with 2 additions and 1 deletions
|
@ -100,12 +100,13 @@ struct Message setfilter_msgtab = {
|
||||||
{mg_unreg, mg_not_oper, mg_ignore, mg_ignore, {me_setfilter, 2}, {mo_setfilter, 2}}
|
{mg_unreg, mg_not_oper, mg_ignore, mg_ignore, {me_setfilter, 2}, {mo_setfilter, 2}}
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static int
|
||||||
modinit(void)
|
modinit(void)
|
||||||
{
|
{
|
||||||
filter_umode = user_modes['u'] = find_umode_slot();
|
filter_umode = user_modes['u'] = find_umode_slot();
|
||||||
construct_umodebuf();
|
construct_umodebuf();
|
||||||
filter_chmode = cflag_add('u', chm_simple);
|
filter_chmode = cflag_add('u', chm_simple);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue