diff options
Diffstat (limited to 'src/fe-common/irc/dcc/fe-dcc.c')
-rw-r--r-- | src/fe-common/irc/dcc/fe-dcc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fe-common/irc/dcc/fe-dcc.c b/src/fe-common/irc/dcc/fe-dcc.c index 1526b1b4..2989e3ab 100644 --- a/src/fe-common/irc/dcc/fe-dcc.c +++ b/src/fe-common/irc/dcc/fe-dcc.c @@ -66,6 +66,14 @@ static void dcc_rejected(DCC_REC *dcc) dcc_type2str(dcc->type), dcc->nick, dcc->arg); } +static void dcc_request_send(DCC_REC *dcc) +{ + g_return_if_fail(dcc != NULL); + + printformat(dcc->server, NULL, MSGLEVEL_DCC, IRCTXT_DCC_REQUEST_SEND, + dcc_type2str(dcc->type), dcc->nick, dcc->arg); +} + static void dcc_error_connect(DCC_REC *dcc) { g_return_if_fail(dcc != NULL); @@ -124,6 +132,7 @@ void fe_irc_dcc_init(void) signal_add("dcc request", (SIGNAL_FUNC) dcc_request); signal_add("dcc rejected", (SIGNAL_FUNC) dcc_rejected); + signal_add("dcc request send", (SIGNAL_FUNC) dcc_request_send); signal_add("dcc error connect", (SIGNAL_FUNC) dcc_error_connect); signal_add("dcc error unknown type", (SIGNAL_FUNC) dcc_error_unknown_type); command_bind("dcc", NULL, (SIGNAL_FUNC) cmd_dcc); @@ -142,6 +151,7 @@ void fe_irc_dcc_deinit(void) signal_remove("dcc request", (SIGNAL_FUNC) dcc_request); signal_remove("dcc rejected", (SIGNAL_FUNC) dcc_rejected); + signal_remove("dcc request send", (SIGNAL_FUNC) dcc_request_send); signal_remove("dcc error connect", (SIGNAL_FUNC) dcc_error_connect); signal_remove("dcc error unknown type", (SIGNAL_FUNC) dcc_error_unknown_type); command_unbind("dcc", (SIGNAL_FUNC) cmd_dcc); |