mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
DelServer() didn't always update m_uServerIdx correctly which means GetCurServer() started to return the wrong server. This should now be fixed. This log shows the bug. ZNC starts to think it's connected to irc.efnet.nl: <znc_psy> listservers <*status> +-------------------+------+-----+------+ <*status> | Host | Port | SSL | Pass | <*status> +-------------------+------+-----+------+ <*status> | irc.efnet.pl | 6667 | | | <*status> | irc.spotchat.org* | 6667 | | | <*status> | irc.efnet.nl | 6667 | | | <*status> | irc.freenode.org | 6667 | | | <*status> +-------------------+------+-----+------+ <znc_psy> delserver irc.efnet.pl <*status> Server removed <znc_psy> listservers <*status> +------------------+------+-----+------+ <*status> | Host | Port | SSL | Pass | <*status> +------------------+------+-----+------+ <*status> | irc.spotchat.org | 6667 | | | <*status> | irc.efnet.nl* | 6667 | | | <*status> | irc.freenode.org | 6667 | | | <*status> +------------------+------+-----+------+ Thanks to tomaw for reporting this bug. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1659 726aef4b-f618-498e-8847-2d620e286838
32 KiB
32 KiB