diff options
author | Timo Sirainen <cras@irssi.org> | 2000-09-25 17:26:52 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-09-25 17:26:52 +0000 |
commit | 48a472728f3dc7b1ee4d01351f955208500a53af (patch) | |
tree | 2c37187643c2dff5269a807820a713398378df3b /src/fe-common/irc | |
parent | 886ca98e11c1a1a5237250b5d3bfe0c8efa0c7a3 (diff) | |
download | irssi-48a472728f3dc7b1ee4d01351f955208500a53af.zip |
Added target parameter to own_dcc format
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@668 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r-- | src/fe-common/irc/dcc/fe-dcc.c | 2 | ||||
-rw-r--r-- | src/fe-common/irc/dcc/module-formats.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/irc/dcc/fe-dcc.c b/src/fe-common/irc/dcc/fe-dcc.c index fb9a8d81..eb96b658 100644 --- a/src/fe-common/irc/dcc/fe-dcc.c +++ b/src/fe-common/irc/dcc/fe-dcc.c @@ -313,7 +313,7 @@ static void cmd_msg(const char *data) } else { printformat(NULL, target, MSGLEVEL_DCCMSGS | MSGLEVEL_NOHILIGHT, query_find(NULL, target) ? IRCTXT_OWN_DCC_QUERY : - IRCTXT_OWN_DCC, dcc->mynick, text); + IRCTXT_OWN_DCC, dcc->mynick, target, text); } cmd_params_free(free_arg); diff --git a/src/fe-common/irc/dcc/module-formats.c b/src/fe-common/irc/dcc/module-formats.c index da2cdc68..5c8f40db 100644 --- a/src/fe-common/irc/dcc/module-formats.c +++ b/src/fe-common/irc/dcc/module-formats.c @@ -27,7 +27,7 @@ FORMAT_REC fecommon_irc_dcc_formats[] = { /* ---- */ { NULL, "DCC", 0 }, - { "own_dcc", "%K[%rdcc%K(%R$0%K)]%n %|$1", 2, { 0, 0 } }, + { "own_dcc", "%K[%rdcc%K(%R$1%K)]%n %|$2", 3, { 0, 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 } }, |