From e8f3587b80c26ee4fbd160db9a83ed8914a63e22 Mon Sep 17 00:00:00 2001 From: Matt Schatz Date: Wed, 30 Dec 2020 09:55:28 -0700 Subject: Disallow an empty last parameter in MAP. --- src/modules/m_spanningtree/override_map.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/m_spanningtree') 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; } -- cgit v1.2.3