mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-09 07:43:13 +02:00
Rename place_host_ban() to take_action() since it is not only about banning...
This commit is contained in:
@@ -74,7 +74,7 @@ TKL *(*find_tkline_match_zap)(Client *client);
|
||||
void (*tkl_stats)(Client *client, int type, const char *para, int *cnt);
|
||||
void (*tkl_sync)(Client *client);
|
||||
void (*cmd_tkl)(Client *client, MessageTag *mtags, int parc, const char *parv[]);
|
||||
int (*place_host_ban)(Client *client, BanAction *action, const char *reason, long duration, int skip_set);
|
||||
int (*take_action)(Client *client, BanAction *action, const char *reason, long duration, int skip_set);
|
||||
int (*match_spamfilter)(Client *client, const char *str_in, int type, const char *cmd, const char *target, int flags, TKL **rettk);
|
||||
int (*match_spamfilter_mtags)(Client *client, MessageTag *mtags, const char *cmd);
|
||||
int (*join_viruschan)(Client *client, TKL *tk, int type);
|
||||
@@ -362,7 +362,7 @@ void efunctions_init(void)
|
||||
efunc_init_function(EFUNC_TKL_STATS, tkl_stats, NULL);
|
||||
efunc_init_function(EFUNC_TKL_SYNCH, tkl_sync, NULL);
|
||||
efunc_init_function(EFUNC_CMD_TKL, cmd_tkl, NULL);
|
||||
efunc_init_function(EFUNC_PLACE_HOST_BAN, place_host_ban, NULL);
|
||||
efunc_init_function(EFUNC_TAKE_ACTION, take_action, NULL);
|
||||
efunc_init_function(EFUNC_MATCH_SPAMFILTER, match_spamfilter, NULL);
|
||||
efunc_init_function(EFUNC_MATCH_SPAMFILTER_MTAGS, match_spamfilter_mtags, NULL);
|
||||
efunc_init_function(EFUNC_JOIN_VIRUSCHAN, join_viruschan, NULL);
|
||||
|
||||
Reference in New Issue
Block a user