mirror of
https://github.com/osmarks/ngircd.git
synced 2025-04-07 00:06:56 +00:00

It is not possible to call Conn_Close() after Client_Destroy() has been called, because Conn_Close wants to access the CLIENT structure which then has been freed already. Fix IRC_KILL to use Conn_Close() for local clients and Client_Destroy() for remote clients only (and never both).