1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00: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:
Timo Sirainen 2002-05-18 07:48:23 +00:00 committed by cras
parent 5be5d14890
commit 86ab5ade86

View File

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