aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_shun.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-12-01 05:14:58 +0000
committerGravatar Sadie Powell2022-12-01 05:25:01 +0000
commit45e56e5ee1bdb9e169be957e21a4f7b536e417ff (patch)
tree72642028744c278ca476e656933716ac9f7357b8 /src/modules/m_shun.cpp
parentMerge branch 'insp3' into master. (diff)
Yet more stylistic fixes.
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r--src/modules/m_shun.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index 3b0d7baf4..754ee426c 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -41,7 +41,8 @@ class ShunFactory final
: public XLineFactory
{
public:
- ShunFactory() : XLineFactory("SHUN") { }
+ 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
{
@@ -58,7 +59,8 @@ class CommandShun final
: public Command
{
public:
- CommandShun(Module* Creator) : Command(Creator, "SHUN", 1, 3)
+ CommandShun(Module* Creator)
+ : Command(Creator, "SHUN", 1, 3)
{
access_needed = CmdAccess::OPERATOR;
syntax = { "<nick!user@host> [<duration> :<reason>]" };