diff options
author | Peter Powell <petpow@saberuk.com> | 2019-08-07 13:40:01 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-08-07 16:38:15 +0100 |
commit | 85182d727c0d549b9cf6659ad36dec70fcf02278 (patch) | |
tree | 4444b9b1a392de7a63ad81a78b5a9c934432063c /src/modules/m_spanningtree/main.cpp | |
parent | 704f0fca5fea4c99a1d21cdb9418d16f7278fcaa (diff) |
Add {To,From}{Human,Internal,Network} to ExtensionItem.
Also, deprecate the old SerializeFormat/serialize/unserialise API.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 484d72e6d..43417bc3c 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -486,7 +486,7 @@ void ModuleSpanningTree::OnUserConnect(LocalUser* user) for(Extensible::ExtensibleStore::const_iterator i = user->GetExtList().begin(); i != user->GetExtList().end(); i++) { ExtensionItem* item = i->first; - std::string value = item->serialize(FORMAT_NETWORK, user, i->second); + std::string value = item->ToNetwork(user, i->second); if (!value.empty()) ServerInstance->PI->SendMetaData(user, item->name, value); } |