diff options
| author | 2020-02-15 05:43:02 +0000 | |
|---|---|---|
| committer | 2020-02-15 06:25:12 +0000 | |
| commit | f9b4c280f8e7bec0c9237f9648c4fc5a77cfc468 (patch) | |
| tree | d8c2d187b4443f52098a9442fb4fac8f868420c2 /src/modules/m_dccallow.cpp | |
| parent | Fix logic calling OnList when sending a cap notification. (diff) | |
| download | inspircd++-f9b4c280f8e7bec0c9237f9648c4fc5a77cfc468.tar.gz inspircd++-f9b4c280f8e7bec0c9237f9648c4fc5a77cfc468.tar.bz2 inspircd++-f9b4c280f8e7bec0c9237f9648c4fc5a77cfc468.zip | |
Fix leaking the dccallow list instead of setting it in FromInternal.
Diffstat (limited to 'src/modules/m_dccallow.cpp')
| -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 |
