mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
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
This commit is contained in:
parent
3deb0a7b66
commit
ed93f91d96
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user