summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index a4b34f689..ffc3befa4 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2639,7 +2639,7 @@ class ModuleSpanningTree : public Module
{
/* If the command doesnt appear to be valid, we dont want to mess with it. */
if (!validated)
- return;
+ return 0;
if (command == "CONNECT")
{