1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Merge pull request #77 from ailin-nemui/fix_ignore_help

Clarify the help for /ignore -time

(cherry picked from commit c62505386f)
This commit is contained in:
ailin-nemui 2022-03-11 12:09:26 +01:00 committed by Ailin Nemui
parent 3e9a270562
commit 1598c88cfd
2 changed files with 6 additions and 2 deletions

View File

@ -14,6 +14,8 @@
-network: Ignores only on a specific network. -network: Ignores only on a specific network.
-channels: Ignores only on specific channels. -channels: Ignores only on specific channels.
-time: The timeout to automatically remove the ignore. -time: The timeout to automatically remove the ignore.
Accepts units specified in days, hours, minutes, seconds,
milliseconds, or no unit for seconds.
The mask, channels and levels to ignore; if no argument is provided, the The mask, channels and levels to ignore; if no argument is provided, the
list of ignores will be displayed. list of ignores will be displayed.
@ -44,6 +46,8 @@
/IGNORE #irssi NO_ACT JOINS PARTS QUITS /IGNORE #irssi NO_ACT JOINS PARTS QUITS
/IGNORE mike NO_ACT -MSGS /IGNORE mike NO_ACT -MSGS
/IGNORE mike HIDDEN PUBLIC JOINS PARTS QUITS /IGNORE mike HIDDEN PUBLIC JOINS PARTS QUITS
/IGNORE -time 5days christmas PUBLICS
/IGNORE -time 300 mike PUBLICS
%9See also:%9 ACCEPT, SILENCE, UNIGNORE %9See also:%9 ACCEPT, SILENCE, UNIGNORE

View File

@ -115,9 +115,9 @@ static void cmd_ignore_show(void)
} }
/* SYNTAX: IGNORE [-regexp | -full] [-pattern <pattern>] [-except] [-replies] /* SYNTAX: IGNORE [-regexp | -full] [-pattern <pattern>] [-except] [-replies]
[-network <network>] [-channels <channel>] [-time <secs>] <mask> [<levels>] [-network <network>] [-channels <channel>] [-time <time>] <mask> [<levels>]
IGNORE [-regexp | -full] [-pattern <pattern>] [-except] [-replies] IGNORE [-regexp | -full] [-pattern <pattern>] [-except] [-replies]
[-network <network>] [-time <secs>] <channels> [<levels>] */ [-network <network>] [-time <time>] <channels> [<levels>] */
/* NOTE: -network replaces the old -ircnet flag. */ /* NOTE: -network replaces the old -ircnet flag. */
static void cmd_ignore(const char *data) static void cmd_ignore(const char *data)
{ {