From 85182d727c0d549b9cf6659ad36dec70fcf02278 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 7 Aug 2019 13:40:01 +0100 Subject: Add {To,From}{Human,Internal,Network} to ExtensionItem. Also, deprecate the old SerializeFormat/serialize/unserialise API. --- src/modules/m_check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_check.cpp') diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index abbaaab8d..404f20999 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -90,7 +90,7 @@ class CheckContext for(Extensible::ExtensibleStore::const_iterator i = ext->GetExtList().begin(); i != ext->GetExtList().end(); ++i) { ExtensionItem* item = i->first; - std::string value = item->serialize(FORMAT_USER, ext, i->second); + std::string value = item->ToHuman(ext, i->second); if (!value.empty()) Write("meta:" + item->name, value); else if (!item->name.empty()) -- cgit v1.2.3