mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Synchronise extensibles in Sync even if they have no value.
This commit is contained in:
parent
b514f826a9
commit
2f716375bf
@ -140,8 +140,7 @@ void* ExtensionItem::UnsetRaw(Extensible* container)
|
||||
void ExtensionItem::Sync(const Extensible* container, void* item)
|
||||
{
|
||||
const std::string networkstr = item ? ToNetwork(container, item) : "";
|
||||
if (!networkstr.empty())
|
||||
ServerInstance->PI->SendMetadata(container, name, networkstr);
|
||||
ServerInstance->PI->SendMetadata(container, name, networkstr);
|
||||
OnSync(container, item, nullptr);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user