summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-09-10 14:07:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-09-10 14:07:26 +0300
commit06b6dbfbae6716bd45f380a9565fade27380a845 (patch)
tree3bd798d27bf8da41c74d63d0bef87b599f94a838 /protocols/IRCG/src
parent23f0b751b57b2dd9f6e912cec92364ff59b864b2 (diff)
fixes #2963 (IRC: cannot connect to libera.chat if SSL is "Auto")
Diffstat (limited to 'protocols/IRCG/src')
-rw-r--r--protocols/IRCG/src/options.cpp4
-rw-r--r--protocols/IRCG/src/version.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp
index aa5dc2c6cd..ab05340ed9 100644
--- a/protocols/IRCG/src/options.cpp
+++ b/protocols/IRCG/src/options.cpp
@@ -298,7 +298,7 @@ public:
m_ssl.AddString(TranslateT("Off"), 0);
m_ssl.AddString(TranslateT("Auto"), 1);
m_ssl.AddString(TranslateT("On"), 2);
- m_ssl.SetCurSel(m_proto->m_iSSL);
+ m_ssl.SelectData(m_proto->m_iSSL);
m_spin1.SetPosition(m_proto->m_onlineNotificationTime);
m_spin2.SetPosition(m_proto->m_onlineNotificationLimit);
@@ -334,7 +334,7 @@ public:
m_port.GetTextA(m_proto->m_portStart, _countof(m_proto->m_portStart));
m_port2.GetTextA(m_proto->m_portEnd, _countof(m_proto->m_portEnd));
m_pass.GetTextA(m_proto->m_password, _countof(m_proto->m_password));
- m_proto->m_iSSL = m_ssl.GetCurSel();
+ m_proto->m_iSSL = m_ssl.GetCurData();
m_proto->m_bUseSASL = m_useSasl.GetState();
m_proto->m_onlineNotificationTime = SendDlgItemMessage(m_hwnd, IDC_SPIN1, UDM_GETPOS, 0, 0);
diff --git a/protocols/IRCG/src/version.h b/protocols/IRCG/src/version.h
index 9d4eeed3ac..31621c2313 100644
--- a/protocols/IRCG/src/version.h
+++ b/protocols/IRCG/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 96
#define __RELEASE_NUM 1
-#define __BUILD_NUM 2
+#define __BUILD_NUM 3
#include <stdver.h>