aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_gateway.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-07 21:09:09 +0100
committerGravatar Sadie Powell2022-09-07 22:36:02 +0100
commitde2392833ec17a9deb865fdac0af73275fd960ff (patch)
tree4f552c9633725bd1bd57367286652b9d2881279e /src/modules/m_gateway.cpp
parentFix more warnings discovered with -Weverything. (diff)
Default allow_empty_last_param to false.
Diffstat (limited to 'src/modules/m_gateway.cpp')
-rw-r--r--src/modules/m_gateway.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/m_gateway.cpp b/src/modules/m_gateway.cpp
index d4a9a3d7b..dbdc0cbf0 100644
--- a/src/modules/m_gateway.cpp
+++ b/src/modules/m_gateway.cpp
@@ -133,7 +133,6 @@ public:
CommandHexIP(Module* Creator)
: SplitCommand(Creator, "HEXIP", 1)
{
- allow_empty_last_param = false;
Penalty = 2;
syntax = { "<hex-ip|raw-ip>" };
}
@@ -247,7 +246,6 @@ public:
, sslapi(Creator)
, webircevprov(Creator, "event/webirc")
{
- allow_empty_last_param = false;
works_before_reg = true;
syntax = { "<password> <gateway> <hostname> <ip> [<flags>]" };
}