summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/dcc/module-formats.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-06-04 01:36:07 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-06-04 01:36:07 +0000
commit35fab0c9ef3ec129e2a753fd6a659124d0e168ae (patch)
treece7d3d142161f11c7d7069bf29d59dba84cde075 /src/fe-common/irc/dcc/module-formats.c
parent841736a7d359dd7f9ba0238589965ea205102415 (diff)
downloadirssi-35fab0c9ef3ec129e2a753fd6a659124d0e168ae.zip
Lots of DCC related fixes.
Added command_bind_first() and command_bind_last() functions. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@285 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/dcc/module-formats.c')
-rw-r--r--src/fe-common/irc/dcc/module-formats.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/fe-common/irc/dcc/module-formats.c b/src/fe-common/irc/dcc/module-formats.c
index 4dee15f7..da2cdc68 100644
--- a/src/fe-common/irc/dcc/module-formats.c
+++ b/src/fe-common/irc/dcc/module-formats.c
@@ -27,11 +27,13 @@ FORMAT_REC fecommon_irc_dcc_formats[] = {
/* ---- */
{ NULL, "DCC", 0 },
- { "own_dcc", "%K[%rdcc%K(%R$0%K)]%n $1", 2, { 0, 0 } },
- { "own_dcc_me", "%W * $0%n $1", 2, { 0, 0 } },
+ { "own_dcc", "%K[%rdcc%K(%R$0%K)]%n %|$1", 2, { 0, 0 } },
+ { "own_dcc_me", "%W * $0%n %|$1", 2, { 0, 0 } },
{ "own_dcc_ctcp", "%K[%rctcp%K(%R$0%K)]%n $1 $2", 3, { 0, 0, 0 } },
- { "dcc_msg", "%K[%G$0%K(%gdcc%K)]%n $1", 2, { 0, 0 } },
- { "action_dcc", "%W (*dcc*) $0%n $1", 2, { 0, 0 } },
+ { "dcc_msg", "%K[%G$0%K(%gdcc%K)]%n %|$1", 2, { 0, 0 } },
+ { "action_dcc", "%W (*dcc*) $0%n %|$1", 2, { 0, 0 } },
+ { "own_dcc_query", "%K<%W$0%K>%n %|$1", 2, { 0, 0 } },
+ { "dcc_msg_query", "%K<%G$0%K>%n %|$1", 2, { 0, 0 } },
{ "dcc_ctcp", "%g>>> DCC CTCP received from %_$0%_%K: %g$1", 2, { 0, 0 } },
{ "dcc_chat", "%gDCC CHAT from %_$0%_ %K[%g$1 port $2%K]", 3, { 0, 0, 1 } },
{ "dcc_chat_not_found", "%gNo DCC CHAT connection open to %_$0", 1, { 0 } },
@@ -55,6 +57,10 @@ FORMAT_REC fecommon_irc_dcc_formats[] = {
{ "dcc_cant_create", "%gDCC can't create file %G$0%g", 1, { 0 } },
{ "dcc_rejected", "%gDCC %G$0%g was rejected by %_$1%_ %K[%G$2%K]", 3, { 0, 0, 0 } },
{ "dcc_close", "%gDCC %G$0%g close for %_$1%_ %K[%G$2%K]", 3, { 0, 0, 0 } },
+ { "dcc_list_header", "%gDCC connections", 0 },
+ { "dcc_list_line_chat", "%g $0 $1", 2, { 0, 0 } },
+ { "dcc_list_line_file", "%g $0 $1: $2k of $3k ($4%%) - $5kB/s - $6", 7, { 0, 0, 2, 2, 1, 3, 0 } },
+ { "dcc_list_footer", "", 0 },
{ NULL, NULL, 0 }
};