mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Check server's connected flag rather than net-sendbuffer pointers in
sig_server_quit. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4972 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ad66af3c10
commit
725ccc249d
@ -338,8 +338,7 @@ static void sig_server_quit(IRC_SERVER_REC *server, const char *msg)
|
||||
char *str;
|
||||
char *recoded;
|
||||
|
||||
if (!IS_IRC_SERVER(server) || server->handle == NULL ||
|
||||
server->handle->readbuffer == NULL)
|
||||
if (!IS_IRC_SERVER(server) || !server->connected)
|
||||
return;
|
||||
|
||||
recoded = recode_out(SERVER(server), msg, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user