From: <no...@gi...> - 2011-08-31 01:25:14
|
Branch: refs/heads/master Home: https://github.com/znc/znc Commit: 75d7cdffd9542c6b5497a86adf4b6bb642dd9d39 https://github.com/znc/znc/commit/75d7cdffd9542c6b5497a86adf4b6bb642dd9d39 Author: Kyle Fuller <in...@ky...> Date: 2011-08-30 (Tue, 30 Aug 2011) Changed paths: M Client.cpp Log Message: ----------- Fix CALLMOD, m_pNetwork could be NULL, in this case CALLMOD would be passed a NULL network. But CALLMOD will try calling its modules anyway Commit: bf8b1624c92c2553312161d5806a2042cee38962 https://github.com/znc/znc/commit/bf8b1624c92c2553312161d5806a2042cee38962 Author: Kyle Fuller <in...@ky...> Date: 2011-08-30 (Tue, 30 Aug 2011) Changed paths: M IRCNetwork.cpp M User.cpp Log Message: ----------- Unload user and network modules once all the clients are gone and we are disconencted from any IRC servers. The OnIRCDisconnected module call would cause a segmentation fault because it would try m_pNetwork->GetModules().GetNetwork(). GetModules() would return NULL. Compare: https://github.com/znc/znc/compare/e70b685...bf8b162 |