completion_msgtoyou() -> irc_nick_match()

Implemented -replies option to /ignore.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@287 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-04 12:38:28 +00:00 committed by cras
commit 8562737548
9 changed files with 80 additions and 41 deletions

View file

@ -112,8 +112,9 @@ static void ignore_print(int index, IGNORE_REC *rec)
IRCTXT_IGNORE_LINE, index,
key != NULL ? key : "",
levels != NULL ? levels : "",
rec->regexp ? " -regexp" : "",
rec->fullword ? " -word" : "",
rec->regexp ? " -regexp" : "");
rec->replies ? " -replies" : "");
g_free(key);
g_free(levels);
}
@ -183,8 +184,9 @@ static void cmd_ignore(const char *data)
}
rec->pattern = *patternarg == '\0' ? NULL : g_strdup(patternarg);
rec->fullword = stristr(args, "-word") != NULL;
rec->regexp = stristr(args, "-regexp") != NULL;
rec->fullword = stristr(args, "-word") != NULL;
rec->replies = stristr(args, "-replies") != NULL;
if (rec->level == 0 && rec->except_level == 0) {
printformat(NULL, NULL, MSGLEVEL_CLIENTNOTICE, IRCTXT_UNIGNORED,