From a51d044c82d2e39a2d9a79dd2ce181ef7bd32b02 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 21 Jan 2022 15:53:04 +0000 Subject: 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. --- src/modules/m_nickflood.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_nickflood.cpp') diff --git a/src/modules/m_nickflood.cpp b/src/modules/m_nickflood.cpp index 9475d8077..14c238947 100644 --- a/src/modules/m_nickflood.cpp +++ b/src/modules/m_nickflood.cpp @@ -112,7 +112,7 @@ class NickFlood final return MODEACTION_DENY; } - ext.Set(channel, nsecs, nnicks); + ext.SetFwd(channel, nsecs, nnicks); return MODEACTION_ALLOW; } -- cgit v1.3.1-10-gc9f91