diff options
author | Sadie Powell <sadie@witchery.services> | 2020-02-15 05:43:02 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-02-15 06:25:12 +0000 |
commit | f9b4c280f8e7bec0c9237f9648c4fc5a77cfc468 (patch) | |
tree | d8c2d187b4443f52098a9442fb4fac8f868420c2 | |
parent | 169b194788de09259ff513401a02035d164b14c1 (diff) |
Fix leaking the dccallow list instead of setting it in FromInternal.
-rw-r--r-- | src/modules/m_dccallow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<dccallowlist> list->push_back(dccallow); } + // The value was well formed. + set(user, list); } std::string ToInternal(const Extensible* container, void* item) const CXX11_OVERRIDE |