mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
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:
parent
1a541c149d
commit
8562737548
9 changed files with 80 additions and 41 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue