summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-02-15 05:43:02 +0000
committerSadie Powell <sadie@witchery.services>2020-02-15 06:25:12 +0000
commitf9b4c280f8e7bec0c9237f9648c4fc5a77cfc468 (patch)
treed8c2d187b4443f52098a9442fb4fac8f868420c2 /src
parent169b194788de09259ff513401a02035d164b14c1 (diff)
Fix leaking the dccallow list instead of setting it in FromInternal.
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_dccallow.cpp2
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