diff options
author | Timo Sirainen <cras@irssi.org> | 2002-05-12 11:20:02 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-05-12 11:20:02 +0000 |
commit | 4a9323246258b0fff3ca3b192373146950845fb1 (patch) | |
tree | 344d81022b0a262e097c6b387b719e18e22dead6 /src/irc | |
parent | 583417d66e326c9e70b27909adb11bacf8a5e45b (diff) | |
download | irssi-4a9323246258b0fff3ca3b192373146950845fb1.zip |
dcc reject bugfix went wrong, fixed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2778 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/dcc/dcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc.c b/src/irc/dcc/dcc.c index d29f607c..08d45ea9 100644 --- a/src/irc/dcc/dcc.c +++ b/src/irc/dcc/dcc.c @@ -406,7 +406,7 @@ void dcc_reject(DCC_REC *dcc, IRC_SERVER_REC *server) if (dcc->server != NULL) server = dcc->server; - if (server != NULL && dcc_is_connected(dcc)) { + if (server != NULL && !dcc_is_connected(dcc)) { irc_send_cmdv(server, "NOTICE %s :\001DCC REJECT %s %s\001", dcc->nick, dcc_type2str(dcc->orig_type), dcc->arg); |