Go to the source code of this file.
Defines | |
#define | check_tcl_join(a, b, c, d) check_tcl_joinspltrejn(a,b,c,d,H_join) |
#define | check_tcl_splt(a, b, c, d) check_tcl_joinspltrejn(a,b,c,d,H_splt) |
#define | check_tcl_rejn(a, b, c, d) check_tcl_joinspltrejn(a,b,c,d,H_rejn) |
#define | check_tcl_sign(a, b, c, d, e) check_tcl_signtopcnick(a,b,c,d,e,H_sign) |
#define | check_tcl_topc(a, b, c, d, e) check_tcl_signtopcnick(a,b,c,d,e,H_topc) |
#define | check_tcl_nick(a, b, c, d, e) check_tcl_signtopcnick(a,b,c,d,e,H_nick) |
#define | REVENGE_KICK 1 |
#define | REVENGE_DEOP 2 |
#define | resetbans(chan) |
#define | resetexempts(chan) |
#define | resetinvites(chan) |
#define | newban(chan, mask, who) newmask((chan)->channel.ban, mask, who) |
#define | newexempt(chan, mask, who) |
#define | newinvite(chan, mask, who) |
Functions | |
static void | check_tcl_need (char *, char *) |
static void | check_tcl_kick (char *, char *, struct userrec *, char *, char *, char *) |
static void | check_tcl_mode (char *, char *, struct userrec *, char *, char *, char *) |
static void | check_tcl_joinspltrejn (char *, char *, struct userrec *, char *, p_tcl_bind_list) |
static void | check_tcl_part (char *, char *, struct userrec *, char *, char *) |
static void | check_tcl_signtopcnick (char *, char *, struct userrec *u, char *, char *, p_tcl_bind_list) |
static int | check_tcl_pubm (char *, char *, char *, char *) |
static int | check_tcl_pub (char *, char *, char *, char *) |
static int | me_op (struct chanset_t *) |
static int | me_halfop (struct chanset_t *) |
static int | me_voice (struct chanset_t *) |
static int | any_ops (struct chanset_t *) |
static int | hand_on_chan (struct chanset_t *, struct userrec *) |
static char * | getchanmode (struct chanset_t *) |
static void | flush_mode (struct chanset_t *, int) |
static void | set_delay (struct chanset_t *, char *) |
static void | refresh_who_chan (char *) |
static void | reset_chan_info (struct chanset_t *, int) |
static void | recheck_channel (struct chanset_t *, int) |
static void | set_key (struct chanset_t *, char *) |
static void | maybe_revenge (struct chanset_t *, char *, char *, int) |
static int | detect_chan_flood (char *, char *, char *, struct chanset_t *, int, char *) |
static void | newmask (masklist *, char *, char *) |
static char * | quickban (struct chanset_t *, char *) |
static void | got_op (struct chanset_t *chan, char *nick, char *from, char *who, struct userrec *opu, struct flag_record *opper) |
static void | got_halfop (struct chanset_t *chan, char *nick, char *from, char *who, struct userrec *opu, struct flag_record *opper) |
static int | killmember (struct chanset_t *chan, char *nick) |
static void | check_lonely_channel (struct chanset_t *chan) |
static int | gotmode (char *, char *) |
#define check_tcl_join | ( | a, | |||
b, | |||||
c, | |||||
d | ) | check_tcl_joinspltrejn(a,b,c,d,H_join) |
#define check_tcl_rejn | ( | a, | |||
b, | |||||
c, | |||||
d | ) | check_tcl_joinspltrejn(a,b,c,d,H_rejn) |
Definition at line 31 of file irc.h.
Referenced by check_expired_chanstuff(), and gotquit().
#define check_tcl_splt | ( | a, | |||
b, | |||||
c, | |||||
d | ) | check_tcl_joinspltrejn(a,b,c,d,H_splt) |
Definition at line 32 of file irc.h.
Referenced by got331(), got332(), and gottopic().
#define newban | ( | chan, | |||
mask, | |||||
who | ) | newmask((chan)->channel.ban, mask, who) |
#define newexempt | ( | chan, | |||
mask, | |||||
who | ) |
#define newinvite | ( | chan, | |||
mask, | |||||
who | ) |
#define resetbans | ( | chan | ) |
resetmasks((chan), (chan)->channel.ban, \ (chan)->bans, global_bans, 'b')
Definition at line 62 of file irc.h.
Referenced by cmd_resetbans(), and recheck_channel().
#define resetexempts | ( | chan | ) |
resetmasks((chan), (chan)->channel.exempt, \ (chan)->exempts, global_exempts, 'e')
Definition at line 64 of file irc.h.
Referenced by cmd_resetexempts(), and recheck_channel().
#define resetinvites | ( | chan | ) |
resetmasks((chan), (chan)->channel.invite, \ (chan)->invites, global_invites, 'I')
Definition at line 66 of file irc.h.
Referenced by cmd_resetinvites(), and recheck_channel().
#define REVENGE_DEOP 2 |
Definition at line 36 of file irc.h.
Referenced by got_deop(), and punish_badguy().
#define REVENGE_KICK 1 |
Definition at line 35 of file irc.h.
Referenced by gotkick(), and punish_badguy().
static int any_ops | ( | struct chanset_t * | ) | [static] |
static void check_lonely_channel | ( | struct chanset_t * | chan | ) | [static] |
static void check_tcl_joinspltrejn | ( | char * | , | |
char * | , | |||
struct userrec * | , | |||
char * | , | |||
p_tcl_bind_list | ||||
) | [static] |
static void check_tcl_kick | ( | char * | , | |
char * | , | |||
struct userrec * | , | |||
char * | , | |||
char * | , | |||
char * | ||||
) | [static] |
static void check_tcl_mode | ( | char * | , | |
char * | , | |||
struct userrec * | , | |||
char * | , | |||
char * | , | |||
char * | ||||
) | [static] |
Referenced by got_ban(), got_dehalfop(), got_deop(), got_exempt(), got_halfop(), got_invite(), got_op(), got_unban(), got_unexempt(), got_uninvite(), and gotmode().
static void check_tcl_need | ( | char * | , | |
char * | ||||
) | [static] |
Referenced by check_lonely_channel(), got352or4(), got471(), got473(), got474(), got475(), and got_deop().
static void check_tcl_part | ( | char * | , | |
char * | , | |||
struct userrec * | , | |||
char * | , | |||
char * | ||||
) | [static] |
static int check_tcl_pub | ( | char * | , | |
char * | , | |||
char * | , | |||
char * | ||||
) | [static] |
static int check_tcl_pubm | ( | char * | , | |
char * | , | |||
char * | , | |||
char * | ||||
) | [static] |
static void check_tcl_signtopcnick | ( | char * | , | |
char * | , | |||
struct userrec * | u, | |||
char * | , | |||
char * | , | |||
p_tcl_bind_list | ||||
) | [static] |
static int detect_chan_flood | ( | char * | , | |
char * | , | |||
char * | , | |||
struct chanset_t * | , | |||
int | , | |||
char * | ||||
) | [static] |
static void flush_mode | ( | struct chanset_t * | , | |
int | ||||
) | [static] |
Referenced by check_exemptlist(), do_mask(), flush_modes(), kick_all(), and punish_badguy().
static char* getchanmode | ( | struct chanset_t * | ) | [static] |
static void got_halfop | ( | struct chanset_t * | chan, | |
char * | nick, | |||
char * | from, | |||
char * | who, | |||
struct userrec * | opu, | |||
struct flag_record * | opper | |||
) | [static] |
static void got_op | ( | struct chanset_t * | chan, | |
char * | nick, | |||
char * | from, | |||
char * | who, | |||
struct userrec * | opu, | |||
struct flag_record * | opper | |||
) | [static] |
static int gotmode | ( | char * | , | |
char * | ||||
) | [static] |
static int killmember | ( | struct chanset_t * | chan, | |
char * | nick | |||
) | [static] |
static void maybe_revenge | ( | struct chanset_t * | , | |
char * | , | |||
char * | , | |||
int | ||||
) | [static] |
static int me_halfop | ( | struct chanset_t * | ) | [static] |
static int me_op | ( | struct chanset_t * | ) | [static] |
static int me_voice | ( | struct chanset_t * | ) | [static] |
static void newmask | ( | masklist * | , | |
char * | , | |||
char * | ||||
) | [static] |
static char* quickban | ( | struct chanset_t * | , | |
char * | ||||
) | [static] |
static void recheck_channel | ( | struct chanset_t * | , | |
int | ||||
) | [static] |
static void refresh_who_chan | ( | char * | ) | [static] |
static void reset_chan_info | ( | struct chanset_t * | , | |
int | ||||
) | [static] |
static void set_delay | ( | struct chanset_t * | , | |
char * | ||||
) | [static] |
static void set_key | ( | struct chanset_t * | , | |
char * | ||||
) | [static] |