diff options
Diffstat (limited to 'src/irc/dcc')
-rw-r--r-- | src/irc/dcc/dcc-chat.c | 2 | ||||
-rw-r--r-- | src/irc/dcc/dcc-files.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c index 6a38e93c..699af0d4 100644 --- a/src/irc/dcc/dcc-chat.c +++ b/src/irc/dcc/dcc-chat.c @@ -290,7 +290,7 @@ static void cmd_dcc_chat(gchar *data, IRC_SERVER_REC *server) source_host_ok ? source_host_ip : NULL); if (dcc->handle != -1) { - dcc->tagread = g_input_add(dcc->handle, G_INPUT_WRITE, + dcc->tagread = g_input_add(dcc->handle, G_INPUT_WRITE|G_INPUT_READ|G_INPUT_EXCEPTION, (GInputFunction) dcc_chat_connect, dcc); } else diff --git a/src/irc/dcc/dcc-files.c b/src/irc/dcc/dcc-files.c index 5acd35c9..61989ce1 100644 --- a/src/irc/dcc/dcc-files.c +++ b/src/irc/dcc/dcc-files.c @@ -178,7 +178,7 @@ static void cmd_dcc_get(gchar *data) source_host_ok ? source_host_ip : NULL); if (dcc->handle != -1) { - dcc->tagread = g_input_add(dcc->handle, G_INPUT_WRITE, + dcc->tagread = g_input_add(dcc->handle, G_INPUT_WRITE|G_INPUT_READ|G_INPUT_EXCEPTION, (GInputFunction) dcc_get_connect, dcc); } else @@ -227,7 +227,7 @@ static void dcc_resume_setup(DCC_REC *dcc, gint port) source_host_ok ? source_host_ip : NULL); if (dcc->handle != -1) { - dcc->tagread = g_input_add(dcc->handle, G_INPUT_WRITE, + dcc->tagread = g_input_add(dcc->handle, G_INPUT_WRITE|G_INPUT_READ|G_INPUT_EXCEPTION, (GInputFunction) dcc_get_connect, dcc); } else |