diff --git a/include/extension.h b/include/extension.h index 5d276ffcf..4767cecdc 100644 --- a/include/extension.h +++ b/include/extension.h @@ -311,6 +311,12 @@ public: if (container->extype != this->extype) return; + if (value.empty()) + { + SimpleExtItem::Unset(container); + return; + } + auto list = new List(); irc::spacesepstream stream(value); for (std::string element; stream.GetToken(element); )