summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-12 17:14:39 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-11-12 17:14:39 +0000
commit2242e048aa20868d47009a4e4cd652c6663f4ea6 (patch)
treeb5ecea72b4eb7f41c9f10c5e8bbae94a73a664c4
parent6d5a6aeeabfc976bd0e5aff7f9445982774275ab (diff)
Fix incorrect opaque object use in ProtoSendMetaData (this is a reason to avoid opaque data)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12106 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index b00107023..a0a4d3e3d 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -615,7 +615,7 @@ void ModuleSpanningTree::OnUserConnect(LocalUser* user)
ExtensionItem* item = i->first;
std::string value = item->serialize(FORMAT_NETWORK, user, i->second);
if (!value.empty())
- ProtoSendMetaData(this, user, item->key, value);
+ ServerInstance->PI->SendMetaData(this, user, item->key, value);
}
Utils->TreeRoot->SetUserCount(1); // increment by 1