diff options
author | Timo Sirainen <cras@irssi.org> | 2001-10-20 11:26:40 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-10-20 11:26:40 +0000 |
commit | 75ebab8089aff9eb98e4451b56e95f5883d3d9f2 (patch) | |
tree | 5e7e2e488964080b83e075c6a7e9f35da2eb2327 /src/fe-common/irc/dcc | |
parent | f33c283317d23f083512617e0f003fff413ffd78 (diff) | |
download | irssi-75ebab8089aff9eb98e4451b56e95f5883d3d9f2.zip |
Get the server tag to query from dcc->servertag, not dcc->server->tag, to
make it work correctly when accepting dcc chat when not connected to server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1857 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/dcc')
-rw-r--r-- | src/fe-common/irc/dcc/fe-dcc-chat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-common/irc/dcc/fe-dcc-chat.c b/src/fe-common/irc/dcc/fe-dcc-chat.c index c36e953f..03bc5778 100644 --- a/src/fe-common/irc/dcc/fe-dcc-chat.c +++ b/src/fe-common/irc/dcc/fe-dcc-chat.c @@ -61,8 +61,7 @@ static void dcc_connected(CHAT_DCC_REC *dcc) if (!autocreate_dccquery) completion_last_message_add(sender); else - irc_query_create(dcc->server == NULL ? NULL : - dcc->server->tag, sender, TRUE); + irc_query_create(dcc->servertag, sender, TRUE); } g_free(sender); } |