aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_connection.cpp
diff options
context:
space:
mode:
authorGravatar Fabio Bas2010-02-13 11:21:16 +0000
committerGravatar Fabio Bas2010-02-13 11:21:16 +0000
commit87bfbefebab8bf25cfcbfd0b4935d8e6822f4508 (patch)
treea6cf3552c0a626845cc81a3a4f842438dbef83fb /src/modules/options/optw_connection.cpp
parentTry to check server extended capabilities using CAP LS and use STARTTLS if en... (diff)
downloadKVIrc-87bfbefebab8bf25cfcbfd0b4935d8e6822f4508.tar.gz
KVIrc-87bfbefebab8bf25cfcbfd0b4935d8e6822f4508.tar.bz2
KVIrc-87bfbefebab8bf25cfcbfd0b4935d8e6822f4508.zip
server config: changed "supportsSTARTTLS" to "enabledSTARTTLS" and enabled by default; this option is now meaningful only as a way to force STARTTLS disabled on a server that supports it;
server config: added "enabledSASL", "SaslNick", "SaslPass" options main config: added global "enable SASL" option sparser: handle CAP LS, REQ, ACK, NAK, END ircconnection: added SASL support (only PLAIN method is supported by now) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3958 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/options/optw_connection.cpp')
-rw-r--r--src/modules/options/optw_connection.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/options/optw_connection.cpp b/src/modules/options/optw_connection.cpp
index 41779fabf..8b09172cc 100644
--- a/src/modules/options/optw_connection.cpp
+++ b/src/modules/options/optw_connection.cpp
@@ -86,7 +86,11 @@ KviConnectionOptionsWidget::KviConnectionOptionsWidget(QWidget * parent)
connect(b,SIGNAL(toggled(bool)),u,SLOT(setEnabled(bool)));
mergeTip(u,__tr2qs_ctx("<center>Minimum value: <b>0 sec</b><br>Maximum value: <b>86400 sec</b></center>","options"));
- addRowSpacer(0,2,4,2);
+ b = addBoolSelector(this,__tr2qs_ctx("Use the SASL authentication protocol if available","options"),&(KVI_OPTION_BOOL(KviOption_boolUseSaslIfAvailable)),true);
+ mergeTip(b,__tr2qs_ctx("<center>When available and enabled of the specific server, KVIrc will try to authenticate the user using the SASL procotol</center>","options"));
+ addWidgetToLayout(b,0,2,0,2);
+
+ addRowSpacer(0,3,4,3);
}
KviConnectionOptionsWidget::~KviConnectionOptionsWidget()