Sync default port with Use encrypted connection
authorShane Synan <digitalcircuit36939@gmail.com>
Thu, 16 Jun 2016 19:35:42 +0000 (15:35 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 5 Sep 2016 20:31:24 +0000 (22:31 +0200)
commit0d418069762066b4640250efd5ba8d68bf0af178
tree0d5c5c98ef68662aefd4970b122375f61cf1ae95
parent5221b0b4d044d214539a1932a7a2eefbe88e4a66
Sync default port with Use encrypted connection

Change the preselected port from 6667 to 6697 when enabling
"Use encrypted connection" and change back from 6697 to 6667 when
disabling "Use encrypted connection".  The port number can be
manually changed, stopping the link between checkbox and port.
Existing networks are unmodified.

Add loosely-standardized default IRC server ports to network.h to
provide a central place to manage it.  This should only be used when
first adding a server.

See https://freenode.net/news/port-6697-irc-via-tlsssl
src/common/network.h
src/qtui/settingspages/networkssettingspage.cpp
src/qtui/settingspages/networkssettingspage.h