summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/precommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/precommand.cpp')
-rw-r--r--src/modules/m_spanningtree/precommand.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/precommand.cpp b/src/modules/m_spanningtree/precommand.cpp
index 324aa3e14..64e9a90dd 100644
--- a/src/modules/m_spanningtree/precommand.cpp
+++ b/src/modules/m_spanningtree/precommand.cpp
@@ -61,8 +61,7 @@ int ModuleSpanningTree::OnPreCommand(const std::string &command, const char* con
}
else if (command == "MAP")
{
- this->HandleMap(parameters,pcnt,user);
- return 1;
+ return this->HandleMap(parameters,pcnt,user);
}
else if ((command == "TIME") && (pcnt > 0))
{