]>
jfr.im git - solanum.git/blob - extensions/extb_ssl.c
1 /* SSL extban type: matches ssl users */
8 static int _modinit(void);
9 static void _moddeinit(void);
10 static int eb_ssl(const char *data
, struct Client
*client_p
, struct Channel
*chptr
, long mode_type
);
12 DECLARE_MODULE_AV2(extb_ssl
, _modinit
, _moddeinit
, NULL
, NULL
, NULL
, NULL
, NULL
, NULL
);
17 extban_table
['z'] = eb_ssl
;
25 extban_table
['z'] = NULL
;
28 static int eb_ssl(const char *data
, struct Client
*client_p
,
29 struct Channel
*chptr
, long mode_type
)
35 return EXTBAN_INVALID
;
36 return IsSSLClient(client_p
) ? EXTBAN_MATCH
: EXTBAN_NOMATCH
;