communi / libcommuni

A cross-platform IRC framework for Qt
https://communi.github.io
BSD 3-Clause "New" or "Revised" License
84 stars 37 forks source link

Don't reset connection count on connection close but on quit #104

Closed Thaodan closed 2 years ago

Thaodan commented 2 years ago

The connection could be closed manually if the network configuration changes if the user closes the connection intentionally he calls quit directory or indirectionally. So only set connection to 0 in this case.