X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_dccallow.cpp;h=98bcbf4cd46506083603d3fd5adb813a2907516b;hb=cc5965c45d2bccb6bd440aafb6bebfb98520ddd6;hp=da91657815998bde41f34ddbe8bb7d06f3e9f024;hpb=5612c4314ec9812f3ec3cffc900cd7cbfed6bce3;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index da9165781..98bcbf4cd 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -4,7 +4,7 @@ * Copyright (C) 2019 Matt Schatz * Copyright (C) 2018 linuxdaemon * Copyright (C) 2016 Adam - * Copyright (C) 2013, 2017-2019 Sadie Powell + * Copyright (C) 2013, 2017-2020 Sadie Powell * Copyright (C) 2012-2016 Attila Molnar * Copyright (C) 2012, 2014, 2019 Robby * Copyright (C) 2009-2010 Daniel De Graaf @@ -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 @@ -187,7 +189,7 @@ class CommandDccallow : public Command , ext(Ext) { syntax = "[(+|-) [