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_topiclock.cpp | |
| parent | Fix more warnings discovered with -Weverything. (diff) | |
Default allow_empty_last_param to false.
Diffstat (limited to 'src/modules/m_topiclock.cpp')
| -rw-r--r-- | src/modules/m_topiclock.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_topiclock.cpp b/src/modules/m_topiclock.cpp index 744e63ddb..d27dc7866 100644 --- a/src/modules/m_topiclock.cpp +++ b/src/modules/m_topiclock.cpp @@ -33,6 +33,7 @@ public: : Command(Creator, "SVSTOPIC", 1, 4) { access_needed = CmdAccess::SERVER; + allow_empty_last_param = true; } CmdResult Handle(User* user, const Params& parameters) override |
