mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
/IGNORE -pattern now always assumes you want to create a new ignore. If you
wish to update existing, /UNIGNORE it first. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2814 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5be5d14890
commit
86ab5ade86
@ -134,7 +134,7 @@ static void cmd_ignore(const char *data)
|
||||
channels = (chanarg == NULL || *chanarg == '\0') ? NULL :
|
||||
g_strsplit(replace_chars(chanarg, ',', ' '), " ", -1);
|
||||
|
||||
rec = ignore_find(NULL, mask, channels);
|
||||
rec = patternarg != NULL ? NULL: ignore_find(NULL, mask, channels);
|
||||
new_ignore = rec == NULL;
|
||||
|
||||
if (rec == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user