diff options
| author | 2022-01-21 15:53:04 +0000 | |
|---|---|---|
| committer | 2022-01-21 16:36:43 +0000 | |
| commit | a51d044c82d2e39a2d9a79dd2ce181ef7bd32b02 (patch) | |
| tree | 3df8fc518ec12122c4096431d521d9deef58b5b0 /src/modules/m_sasl.cpp | |
| parent | Fix aliases which require routing to be broadcast out. (diff) | |
Fix various edge cases in extensible synchronisation.
- Fix not forwarding the accountid extensible if it is set.
- Rename the variadic Set() overload to SetFwd().
- Re-add the `const T&` overload of Set().
- Move `bool synced` to SimpleExtItem from StringExtItem.
- Only sync extensibles if their instance is marked as syncable.
Diffstat (limited to 'src/modules/m_sasl.cpp')
| -rw-r--r-- | src/modules/m_sasl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp index 05653a927..122b34b43 100644 --- a/src/modules/m_sasl.cpp +++ b/src/modules/m_sasl.cpp @@ -345,7 +345,7 @@ class CommandAuthenticate final SaslAuthenticator *sasl = authExt.Get(user); if (!sasl) - authExt.Set(user, user, parameters[0], sslapi); + authExt.SetFwd(user, user, parameters[0], sslapi); else if (sasl->SendClientMessage(parameters) == false) // IAL abort extension --nenolod { sasl->AnnounceState(); |
