1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 22:43:14 +02:00

Export tkl_type_string via efuncs (actually, the name may change...)

This commit is contained in:
Bram Matthys
2019-06-15 17:06:41 +02:00
parent 7542cdeaca
commit 876fda63ec
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -629,6 +629,7 @@ extern MODVAR int (*register_user)(aClient *cptr, aClient *sptr, char *nick, cha
extern MODVAR int (*tkl_hash)(unsigned int c);
extern MODVAR char (*tkl_typetochar)(int type);
extern MODVAR int (*tkl_chartotype)(char c);
extern MODVAR char *(*tkl_type_string)(aTKline *tk);
extern MODVAR aTKline *(*tkl_add_line)(int type, char *usermask, char *hostmask, char *reason, char *setby,
TS expire_at, TS set_at, TS spamf_tkl_duration, char *spamf_tkl_reason, MatchType match_type, int soft);
extern MODVAR aTKline *(*tkl_del_line)(aTKline *tkl);
+1
View File
@@ -1199,6 +1199,7 @@ _UNREAL_ERROR(_hook_error_incompatible, "Incompatible hook function. Check argum
#define EFUNC_PARSE_MESSAGE_TAGS 61
#define EFUNC_MTAGS_TO_STRING 62
#define EFUNC_TKL_CHARTOTYPE 63
#define EFUNC_TKL_TYPE_STRING 64
/* Module flags */
#define MODFLAG_NONE 0x0000