diff options
| author | 2022-01-25 13:59:42 +0000 | |
|---|---|---|
| committer | 2022-01-25 14:02:36 +0000 | |
| commit | d79147e7afe2eca34780c607f78b11f8b3dd017d (patch) | |
| tree | a3f9a145dd53f9c1c268ac9b521ac907b802eab0 /src/modules/m_shun.cpp | |
| parent | Fix a few Doxygen comment errors. (diff) | |
Abolish the infernal space before accessibility keywords.
Diffstat (limited to 'src/modules/m_shun.cpp')
| -rw-r--r-- | src/modules/m_shun.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index 85a367e21..0d5a85312 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -40,7 +40,7 @@ class ShunFactory final : public XLineFactory { - public: +public: ShunFactory() : XLineFactory("SHUN") { } XLine* Generate(time_t set_time, unsigned long duration, const std::string& source, const std::string& reason, const std::string& xline_specific_mask) override @@ -57,7 +57,7 @@ class ShunFactory final class CommandShun final : public Command { - public: +public: CommandShun(Module* Creator) : Command(Creator, "SHUN", 1, 3) { access_needed = CmdAccess::OPERATOR; @@ -143,7 +143,7 @@ class ModuleShun final : public Module , public Stats::EventListener { - private: +private: CommandShun cmd; ShunFactory shun; insp::flat_set<std::string, irc::insensitive_swo> cleanedcommands; @@ -166,7 +166,7 @@ class ModuleShun final return ServerInstance->XLines->MatchesLine("SHUN", user); } - public: +public: ModuleShun() : Module(VF_VENDOR | VF_COMMON, "Adds the /SHUN command which allows server operators to prevent users from executing commands.") , Stats::EventListener(this) |
