/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:
Timo Sirainen 2001-03-03 20:48:23 +00:00 committed by cras
commit 4f2be94115
9 changed files with 147 additions and 121 deletions

View file

@ -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