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);
|
str = g_string_new(NULL);
|
||||||
banlist = g_strsplit(nicks, " ", -1);
|
banlist = g_strsplit(nicks, " ", -1);
|
||||||
for (ban = banlist; *ban != NULL; ban++) {
|
for (ban = banlist; *ban != NULL; ban++) {
|
||||||
if (strchr(*ban, '!') != NULL) {
|
if (**ban == '$' || strchr(*ban, '!') != NULL) {
|
||||||
/* explicit ban */
|
/* explicit ban */
|
||||||
g_string_append_printf(str, "%s ", *ban);
|
g_string_append_printf(str, "%s ", *ban);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user