added sasl auth

This commit is contained in:
fourtf
2019-09-15 13:15:29 +02:00
parent 22ca20ad2a
commit a390649d0f
5 changed files with 29 additions and 19 deletions
@@ -40,6 +40,8 @@ IrcConnectionEditor::IrcConnectionEditor(const IrcServerData &data, bool isAdd,
return 1;
case IrcAuthType::Pass:
return 2;
case IrcAuthType::Sasl:
return 3;
default:
return 0;
}
@@ -83,6 +85,8 @@ IrcServerData IrcConnectionEditor::data()
return IrcAuthType::Custom;
case 2:
return IrcAuthType::Pass;
case 3:
return IrcAuthType::Sasl;
default:
return IrcAuthType::Anonymous;
}