From 46424964de1fb4cb4faea067ada226978d1066a7 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 14 Oct 2000 01:09:19 +0000 Subject: [PATCH] /format own_dcc_me -> own_dcc_action git-svn-id: http://svn.irssi.org/repos/irssi/trunk@743 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/dcc/fe-dcc.c | 4 ++-- src/fe-common/irc/dcc/module-formats.c | 2 +- src/fe-common/irc/dcc/module-formats.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fe-common/irc/dcc/fe-dcc.c b/src/fe-common/irc/dcc/fe-dcc.c index eb96b658..08869107 100644 --- a/src/fe-common/irc/dcc/fe-dcc.c +++ b/src/fe-common/irc/dcc/fe-dcc.c @@ -329,7 +329,7 @@ static void cmd_me(const char *data, SERVER_REC *server, WI_ITEM_REC *item) if (dcc == NULL) return; printformat(NULL, item->name, MSGLEVEL_DCCMSGS | MSGLEVEL_NOHILIGHT, - IRCTXT_OWN_DCC_ME, dcc->mynick, data); + IRCTXT_OWN_DCC_ACTION, dcc->mynick, data); } static void cmd_action(const char *data, SERVER_REC *server, WI_ITEM_REC *item) @@ -355,7 +355,7 @@ static void cmd_action(const char *data, SERVER_REC *server, WI_ITEM_REC *item) IRCTXT_DCC_CHAT_NOT_FOUND, target+1); } else { printformat(NULL, target, MSGLEVEL_DCCMSGS | MSGLEVEL_NOHILIGHT, - IRCTXT_OWN_DCC_ME, dcc->mynick, text); + IRCTXT_OWN_DCC_ACTION, dcc->mynick, 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 b7730458..d9d65559 100644 --- a/src/fe-common/irc/dcc/module-formats.c +++ b/src/fe-common/irc/dcc/module-formats.c @@ -28,7 +28,7 @@ FORMAT_REC fecommon_irc_dcc_formats[] = { { NULL, "DCC", 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_action", "%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 } }, diff --git a/src/fe-common/irc/dcc/module-formats.h b/src/fe-common/irc/dcc/module-formats.h index b61faad5..ac07846d 100644 --- a/src/fe-common/irc/dcc/module-formats.h +++ b/src/fe-common/irc/dcc/module-formats.h @@ -6,7 +6,7 @@ enum { IRCTXT_FILL_1, IRCTXT_OWN_DCC, - IRCTXT_OWN_DCC_ME, + IRCTXT_OWN_DCC_ACTION, IRCTXT_OWN_DCC_CTCP, IRCTXT_DCC_MSG, IRCTXT_ACTION_DCC,