aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_hostchange.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-25 13:59:42 +0000
committerGravatar Sadie Powell2022-01-25 14:02:36 +0000
commitd79147e7afe2eca34780c607f78b11f8b3dd017d (patch)
treea3f9a145dd53f9c1c268ac9b521ac907b802eab0 /src/modules/m_hostchange.cpp
parentFix a few Doxygen comment errors. (diff)
downloadinspircd++-d79147e7afe2eca34780c607f78b11f8b3dd017d.tar.gz
inspircd++-d79147e7afe2eca34780c607f78b11f8b3dd017d.tar.bz2
inspircd++-d79147e7afe2eca34780c607f78b11f8b3dd017d.zip
Abolish the infernal space before accessibility keywords.
Diffstat (limited to 'src/modules/m_hostchange.cpp')
-rw-r--r--src/modules/m_hostchange.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp
index 5016ed5c4..5fe705766 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -29,7 +29,7 @@
// Holds information about a <hostchange> rule.
class HostRule final
{
- public:
+public:
enum HostChangeAction
{
// Add the user's account name to their hostname.
@@ -42,7 +42,7 @@ class HostRule final
HCA_SET
};
- private:
+private:
HostChangeAction action;
std::string host;
std::string klass;
@@ -66,7 +66,7 @@ class HostRule final
}
}
- public:
+public:
HostRule(std::shared_ptr<ConfigTag> tag, const std::string& Mask, const std::string& Host)
: action(HCA_SET)
, host(Host)
@@ -141,7 +141,7 @@ private:
return buffer;
}
- public:
+public:
ModuleHostChange()
: Module(VF_VENDOR, "Allows the server administrator to define custom rules for applying hostnames to users.")
{