mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
/BANTYPE -> /SET ban_type. /BAN: -type option added to override default
ban type. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1318 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
25a013e4c8
commit
4f2be94115
9 changed files with 147 additions and 121 deletions
|
|
@ -6,11 +6,11 @@
|
|||
void bans_init(void);
|
||||
void bans_deinit(void);
|
||||
|
||||
char *ban_get_mask(IRC_CHANNEL_REC *channel, const char *nick);
|
||||
char *ban_get_masks(IRC_CHANNEL_REC *channel, const char *nicks);
|
||||
/* if ban_type is <= 0, use the default */
|
||||
char *ban_get_mask(IRC_CHANNEL_REC *channel, const char *nick, int ban_type);
|
||||
char *ban_get_masks(IRC_CHANNEL_REC *channel, const char *nicks, int ban_type);
|
||||
|
||||
void ban_set_type(const char *type);
|
||||
void ban_set(IRC_CHANNEL_REC *channel, const char *bans);
|
||||
void ban_set(IRC_CHANNEL_REC *channel, const char *bans, int ban_type);
|
||||
void ban_remove(IRC_CHANNEL_REC *channel, const char *bans);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue