Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
filter: correct type for modinit
Browse files Browse the repository at this point in the history
  • Loading branch information
edk0 committed Oct 6, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 9fe8bcc commit eb06afc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/filter.c
Original file line number Diff line number Diff line change
@@ -100,12 +100,13 @@ struct Message setfilter_msgtab = {
{mg_unreg, mg_not_oper, mg_ignore, mg_ignore, {me_setfilter, 2}, {mo_setfilter, 2}}
};

static void
static int
modinit(void)
{
filter_umode = user_modes['u'] = find_umode_slot();
construct_umodebuf();
filter_chmode = cflag_add('u', chm_simple);
return 0;
}

static void

0 comments on commit eb06afc

Please sign in to comment.