summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-07-01 19:10:21 +0200
committerattilamolnar <attilamolnar@hush.com>2013-07-01 19:10:21 +0200
commit93b12896dab1692800c4b6d2d9f35e1a23102028 (patch)
tree1befb517184bc2c2b9ce44f3627d0f4fb56af1ab /src/modules/m_spanningtree
parenta7f61e181fa1859a8f3d8d233d55e71fc000f1e5 (diff)
Fix a few oversights
This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index cc8871abd..25787e3a3 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -844,7 +844,8 @@ void ModuleSpanningTree::ProtoSendMetaData(void* opaque, Extensible* target, con
CullResult ModuleSpanningTree::cull()
{
- Utils->cull();
+ if (Utils)
+ Utils->cull();
return this->Module::cull();
}