diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-26 01:30:05 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-26 01:30:05 +0000 |
commit | 3fbd7d5c828689db053a6a20b96b344a2fa5c17e (patch) | |
tree | 62a8622090bc5786be60537f686ad30f5b30af89 /src/fe-common/irc/module-formats.c | |
parent | 746bd9b4f0b6b54874068bd0c77b021e0dfaaaac (diff) | |
download | irssi-3fbd7d5c828689db053a6a20b96b344a2fa5c17e.zip |
Added KILL handling - user/server kills are now printed formatted.
If server kills you, connect back (almost) immediately, it was probably
just nick collision and you really want to connect back soon.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@869 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/module-formats.c')
-rw-r--r-- | src/fe-common/irc/module-formats.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-common/irc/module-formats.c b/src/fe-common/irc/module-formats.c index 8e4c401b..578cea16 100644 --- a/src/fe-common/irc/module-formats.c +++ b/src/fe-common/irc/module-formats.c @@ -147,7 +147,9 @@ FORMAT_REC fecommon_irc_formats[] = { { "pong", "PONG received from $0: $1", 2, { 0, 0 } }, { "wallops", "{wallop WALLOP {wallop_nick $0}} $1", 2, { 0, 0 } }, { "action_wallops", "{wallop WALLOP {wallop_action $0}} $1", 2, { 0, 0 } }, - { "error", "{hilight ERROR} $0", 1, { 0 } }, + { "kill", "You were {error killed} by {nick $0} {nickhost $1} {reason $2} [Path: $3]", 4, { 0, 0, 0, 0 } }, + { "kill_server", "You were {error killed} by {server $0} {reason $1} [Path: $2]", 3, { 0, 0, 0 } }, + { "error", "{error ERROR} $0", 1, { 0 } }, { "unknown_mode", "Unknown mode character $0", 1, { 0 } }, { "not_chanop", "You're not channel operator in {channel $0}", 1, { 0 } }, |