From f9b4c280f8e7bec0c9237f9648c4fc5a77cfc468 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 15 Feb 2020 05:43:02 +0000 Subject: Fix leaking the dccallow list instead of setting it in FromInternal. --- src/modules/m_dccallow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 20dfa9db8..95c751734 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -154,6 +154,8 @@ class DCCAllowExt : public SimpleExtItem list->push_back(dccallow); } + // The value was well formed. + set(user, list); } std::string ToInternal(const Extensible* container, void* item) const CXX11_OVERRIDE -- cgit v1.2.3