diff options
author | Timo Sirainen <cras@irssi.org> | 2001-08-14 11:22:19 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-08-14 11:22:19 +0000 |
commit | ed93f91d96fdb9dbdbc3d08c45887dbca087297e (patch) | |
tree | 423b4e4873c4041ee1e6d19e1552a58313e15177 | |
parent | 3deb0a7b668d174befb246dab7f18d8db428283b (diff) | |
download | irssi-ed93f91d96fdb9dbdbc3d08c45887dbca087297e.zip |
Typofix - might have caused a crash if channel was destroyed with /WINDOW
CLOSE.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1753 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/core/chat-completion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c index f580c7c0..2a0ef852 100644 --- a/src/fe-common/core/chat-completion.c +++ b/src/fe-common/core/chat-completion.c @@ -162,7 +162,7 @@ static void sig_message_join(SERVER_REC *server, const char *channel, CHANNEL_REC *chanrec; chanrec = channel_find(server, channel); - if (channel != NULL) + if (chanrec != NULL) CHANNEL_LAST_MSG_ADD(chanrec, nick, FALSE); } |