|
|
|
@ -287,6 +287,7 @@ void IdealIRC::connectToServer(bool newStatus) |
|
|
|
|
QString realname = conf.connection("Realname"); |
|
|
|
|
QString username = conf.connection("Username"); |
|
|
|
|
QString password = conf.connection("Password"); |
|
|
|
|
QString sasl = conf.connection("SASL"); |
|
|
|
|
|
|
|
|
|
if (server.isEmpty() || nickname.isEmpty() || realname.isEmpty() || username.isEmpty()) { |
|
|
|
|
confDlg.show(); |
|
|
|
@ -313,6 +314,7 @@ void IdealIRC::connectToServer(bool newStatus) |
|
|
|
|
con.setIdent(username.toStdString()); |
|
|
|
|
con.setNickname(nickname.toStdString()); |
|
|
|
|
con.setPassword(password.toStdString()); |
|
|
|
|
con.setV3SASL(sasl.toStdString()); |
|
|
|
|
|
|
|
|
|
bool manualKeepaliveEnabled = conf.common("ManualKeepaliveEnabled").toInt(); |
|
|
|
|
int manualKeepalive = manualKeepaliveEnabled ? conf.common("ManualKeepalive").toInt() : 0; |
|
|
|
|