mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
Added target parameter to own_dcc format
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@668 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
886ca98e11
commit
48a472728f
@ -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);
|
||||
|
@ -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 } },
|
||||
|
Loading…
Reference in New Issue
Block a user