diff options
author | louiz’ <louiz@louiz.org> | 2020-06-14 22:54:42 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2020-06-15 00:18:51 +0200 |
commit | 2e1ddeb6547e140e9651231fedcd00e8ee4b1ccd (patch) | |
tree | 8b61842eaa892fde2b5679672de572a9ff7a4e47 /src/database | |
parent | 655bc344d47bc79e500a351c2953f6b5003f40ec (diff) | |
download | biboumi-2e1ddeb6547e140e9651231fedcd00e8ee4b1ccd.tar.gz biboumi-2e1ddeb6547e140e9651231fedcd00e8ee4b1ccd.tar.bz2 biboumi-2e1ddeb6547e140e9651231fedcd00e8ee4b1ccd.tar.xz biboumi-2e1ddeb6547e140e9651231fedcd00e8ee4b1ccd.zip |
Implement SASL plain authentication
Diffstat (limited to 'src/database')
-rw-r--r-- | src/database/database.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp index a53f87b..de1df49 100644 --- a/src/database/database.hpp +++ b/src/database/database.hpp @@ -43,6 +43,8 @@ class Database struct Nick: Column<std::string> { static constexpr auto name = "nick_"; }; + struct SaslPassword: Column<std::string> { static constexpr auto name = "saslpassword_"; }; + struct Pass: Column<std::string> { static constexpr auto name = "pass_"; }; struct Ports: Column<std::string> { static constexpr auto name = "ports_"; @@ -95,7 +97,7 @@ class Database using GlobalOptionsTable = Table<Id, Owner, MaxHistoryLength, RecordHistory, GlobalPersistent>; using GlobalOptions = GlobalOptionsTable::RowType; - using IrcServerOptionsTable = Table<Id, Owner, Server, Pass, TlsPorts, Ports, Username, Realname, VerifyCert, TrustedFingerprint, EncodingOut, EncodingIn, MaxHistoryLength, Address, Nick, ThrottleLimit>; + using IrcServerOptionsTable = Table<Id, Owner, Server, Pass, TlsPorts, Ports, Username, Realname, VerifyCert, TrustedFingerprint, EncodingOut, EncodingIn, MaxHistoryLength, Address, Nick, SaslPassword, ThrottleLimit>; using IrcServerOptions = IrcServerOptionsTable::RowType; using IrcChannelOptionsTable = Table<Id, Owner, Server, Channel, EncodingOut, EncodingIn, MaxHistoryLength, Persistent, RecordHistoryOptional>; |