diff options
| author | 2024-02-27 14:01:55 +0000 | |
|---|---|---|
| committer | 2024-02-27 14:01:55 +0000 | |
| commit | d971e83093166d69003f47e5dd7b57343a5607e5 (patch) | |
| tree | e2e10292cc00473be53f7e60e2341697dee05cb4 /src/modules | |
| parent | Add a command to allow services to clear list modes matching a user. (diff) | |
Set a command access for the SVSHOLD command.
This isn't checked for remote users but it is checked in COMMANDS
when determining what commands to show to a user.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_services.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp index 07d57029a..63f73bf99 100644 --- a/src/modules/m_services.cpp +++ b/src/modules/m_services.cpp @@ -226,7 +226,7 @@ public: CommandSVSHold(Module* Creator) : Command(Creator, "SVSHOLD") { - // No need to set any privs because they're not checked for remote users. + access_needed = CmdAccess::SERVER; } CmdResult Handle(User* user, const Params& parameters) override |
