summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2020-12-30 09:55:28 -0700
committerMatt Schatz <genius3000@g3k.solutions>2020-12-30 09:55:50 -0700
commite8f3587b80c26ee4fbd160db9a83ed8914a63e22 (patch)
treeb6735a27ddd61aa350e28816459def8f3c85f1cc /src
parentbf3bfec6d58f566b98eb09ba0bf83d6a46ca400f (diff)
Disallow an empty last parameter in MAP.
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/override_map.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/override_map.cpp b/src/modules/m_spanningtree/override_map.cpp
index 5122fd0ed..edc4b0a12 100644
--- a/src/modules/m_spanningtree/override_map.cpp
+++ b/src/modules/m_spanningtree/override_map.cpp
@@ -36,6 +36,7 @@
CommandMap::CommandMap(Module* Creator)
: Command(Creator, "MAP", 0, 1)
{
+ allow_empty_last_param = false;
Penalty = 2;
}