diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-03 22:28:09 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-03 22:28:09 +0000 |
commit | 06a33691f4886134e39149743d4accfc7b68e1d9 (patch) | |
tree | 01d36d372cd2e261817bf67330991eedce449330 /src/irc/core/servers-redirect.c | |
parent | ebaea06eb97a300fd792214545ea223bd992f394 (diff) | |
download | irssi-06a33691f4886134e39149743d4accfc7b68e1d9.zip |
make sure redirect_continue is set to NULL if it contains the redirection
that is being destroyed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2385 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/servers-redirect.c')
-rw-r--r-- | src/irc/core/servers-redirect.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irc/core/servers-redirect.c b/src/irc/core/servers-redirect.c index 802bd0aa..c75e87e8 100644 --- a/src/irc/core/servers-redirect.c +++ b/src/irc/core/servers-redirect.c @@ -428,6 +428,9 @@ static void redirect_abort(IRC_SERVER_REC *server, REDIRECT_REC *rec) signal_emit(rec->last_signal, 1, server); } + if (server->redirect_continue == rec) + server->redirect_continue = NULL; + server_redirect_destroy(rec); } |