mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
accept freenode extbans in /ban [#150]
This commit is contained in:
parent
e2462b7839
commit
b4b4ebfadf
@ -88,7 +88,7 @@ char *ban_get_masks(IRC_CHANNEL_REC *channel, const char *nicks, int ban_type)
|
||||
str = g_string_new(NULL);
|
||||
banlist = g_strsplit(nicks, " ", -1);
|
||||
for (ban = banlist; *ban != NULL; ban++) {
|
||||
if (strchr(*ban, '!') != NULL) {
|
||||
if (**ban == '$' || strchr(*ban, '!') != NULL) {
|
||||
/* explicit ban */
|
||||
g_string_append_printf(str, "%s ", *ban);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user