diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-23 14:07:20 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-23 14:07:20 +0000 |
commit | bd9e53a5d23979b9879e482213678f31d5c60314 (patch) | |
tree | 573262d65ba75ae1ca00439016396409fbc25271 /src/irc/dcc/dcc-chat.c | |
parent | 24b56c77eca48f2724dfa55b36e359c688123f7e (diff) | |
download | irssi-bd9e53a5d23979b9879e482213678f31d5c60314.zip |
A few extra checks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@524 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/dcc/dcc-chat.c')
-rw-r--r-- | src/irc/dcc/dcc-chat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c index 173d48b1..ddac4c98 100644 --- a/src/irc/dcc/dcc-chat.c +++ b/src/irc/dcc/dcc-chat.c @@ -239,7 +239,8 @@ static void dcc_chat_connect(DCC_REC *dcc) { g_return_if_fail(dcc != NULL); - if (dcc->addrstr[0] == '\0' || dcc->starttime != 0) { + if (dcc->addrstr[0] == '\0' || + dcc->starttime != 0 || dcc->handle != -1) { /* already sent a chat request / already chatting */ return; } |