From d79147e7afe2eca34780c607f78b11f8b3dd017d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 25 Jan 2022 13:59:42 +0000 Subject: Abolish the infernal space before accessibility keywords. --- src/modules/m_shun.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_shun.cpp') 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 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) -- cgit v1.3.1-10-gc9f91