diff options
| author | 2022-09-07 21:09:09 +0100 | |
|---|---|---|
| committer | 2022-09-07 22:36:02 +0100 | |
| commit | de2392833ec17a9deb865fdac0af73275fd960ff (patch) | |
| tree | 4f552c9633725bd1bd57367286652b9d2881279e /src/modules/m_satopic.cpp | |
| parent | Fix more warnings discovered with -Weverything. (diff) | |
| download | inspircd++-de2392833ec17a9deb865fdac0af73275fd960ff.tar.gz inspircd++-de2392833ec17a9deb865fdac0af73275fd960ff.tar.bz2 inspircd++-de2392833ec17a9deb865fdac0af73275fd960ff.zip | |
Default allow_empty_last_param to false.
Diffstat (limited to 'src/modules/m_satopic.cpp')
| -rw-r--r-- | src/modules/m_satopic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_satopic.cpp b/src/modules/m_satopic.cpp index a52a784d3..450b332eb 100644 --- a/src/modules/m_satopic.cpp +++ b/src/modules/m_satopic.cpp @@ -34,6 +34,7 @@ public: CommandSATopic(Module* Creator) : Command(Creator,"SATOPIC", 2, 2) { access_needed = CmdAccess::OPERATOR; + allow_empty_last_param = true; syntax = { "<channel> :<topic>" }; } |
