diff options
author | Alexander Færøy <ahf@0x90.dk> | 2015-02-16 17:28:08 +0100 |
---|---|---|
committer | Alexander Færøy <ahf@0x90.dk> | 2015-02-16 17:28:08 +0100 |
commit | dd58bd5f7b616dbdd927d7828205b8635d3f76f9 (patch) | |
tree | 78bd2e7b53090b147daa5664982d46c2427f035c /src | |
parent | e2462b78399af7ce5339d97b0ae87aa280d608c6 (diff) | |
parent | b4b4ebfadfb580b76e2a2aee301ae7a61dde775e (diff) | |
download | irssi-dd58bd5f7b616dbdd927d7828205b8635d3f76f9.zip |
Merge pull request #218 from mauke/patch-1
accept freenode extbans in /ban [#150]
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/core/bans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/bans.c b/src/irc/core/bans.c index d8d5d448..38c81aab 100644 --- a/src/irc/core/bans.c +++ b/src/irc/core/bans.c @@ -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; |