mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@174 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
94b37a898b
commit
00c2388666
@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "module.h"
|
||||
#include "module-formats.h"
|
||||
#include "./module-formats.h"
|
||||
#include "signals.h"
|
||||
#include "commands.h"
|
||||
#include "network.h"
|
||||
@ -303,7 +303,7 @@ static void dcc_chat_out_me(gchar *data, SERVER_REC *server, WI_IRC_REC *item)
|
||||
if (dcc == NULL) return;
|
||||
|
||||
printformat(NULL, item->name, MSGLEVEL_DCC,
|
||||
IRCTXT_OWN_ME, dcc->mynick, data);
|
||||
IRCTXT_OWN_DCC_ME, dcc->mynick, data);
|
||||
}
|
||||
|
||||
static void dcc_chat_out_action(const char *data, SERVER_REC *server, WI_IRC_REC *item)
|
||||
@ -327,7 +327,7 @@ static void dcc_chat_out_action(const char *data, SERVER_REC *server, WI_IRC_REC
|
||||
IRCTXT_DCC_CHAT_NOT_FOUND, target+1);
|
||||
} else {
|
||||
printformat(NULL, item->name, MSGLEVEL_DCC,
|
||||
IRCTXT_OWN_ME, dcc->mynick, text);
|
||||
IRCTXT_OWN_DCC_ME, dcc->mynick, text);
|
||||
}
|
||||
g_free(params);
|
||||
}
|
||||
@ -355,7 +355,7 @@ static void dcc_chat_out_ctcp(gchar *data, SERVER_REC *server)
|
||||
IRCTXT_DCC_CHAT_NOT_FOUND, target+1);
|
||||
} else {
|
||||
g_strup(ctcpcmd);
|
||||
printformat(server, target, MSGLEVEL_DCC, IRCTXT_OWN_CTCP,
|
||||
printformat(server, target, MSGLEVEL_DCC, IRCTXT_OWN_DCC_CTCP,
|
||||
target, ctcpcmd, ctcpdata);
|
||||
}
|
||||
|
||||
|
@ -29,6 +29,8 @@ FORMAT_REC fecommon_irc_dcc_formats[] =
|
||||
{ NULL, N_("DCC"), 0 },
|
||||
|
||||
{ "own_dcc", N_("%K[%rdcc%K(%R$0%K)]%n $1"), 2, { 0, 0 } },
|
||||
{ "own_dcc_me", N_("%W * $0%n $1"), 2, { 0, 0 } },
|
||||
{ "own_dcc_ctcp", N_("%K[%rctcp%K(%R$0%K)]%n $1 $2"), 3, { 0, 0, 0 } },
|
||||
{ "dcc_msg", N_("%K[%G$0%K(%gdcc%K)]%n $1"), 2, { 0, 0 } },
|
||||
{ "action_dcc", N_("%W (*dcc*) $0%n $1"), 2, { 0, 0 } },
|
||||
{ "dcc_ctcp", N_("%g>>> DCC CTCP received from %_$0%_%K: %g$1"), 2, { 0, 0 } },
|
||||
|
@ -7,6 +7,8 @@ enum {
|
||||
|
||||
IRCTXT_OWN_DCC,
|
||||
IRCTXT_DCC_MSG,
|
||||
IRCTXT_OWN_DCC_ME,
|
||||
IRCTXT_OWN_DCC_CTCP,
|
||||
IRCTXT_ACTION_DCC,
|
||||
IRCTXT_DCC_CTCP,
|
||||
IRCTXT_DCC_CHAT,
|
||||
|
Loading…
Reference in New Issue
Block a user