aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_timedbans.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_timedbans.cpp
parentFix a few Doxygen comment errors. (diff)
Abolish the infernal space before accessibility keywords.
Diffstat (limited to 'src/modules/m_timedbans.cpp')
-rw-r--r--src/modules/m_timedbans.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp
index 65db00b88..d8320c58c 100644
--- a/src/modules/m_timedbans.cpp
+++ b/src/modules/m_timedbans.cpp
@@ -36,7 +36,7 @@
// Holds a timed ban
class TimedBan final
{
- public:
+public:
std::string mask;
std::string setter;
time_t expire;
@@ -70,7 +70,7 @@ class CommandTban final
return false;
}
- public:
+public:
bool sendnotice;
CommandTban(Module* Creator)
@@ -169,7 +169,7 @@ class CommandTban final
class BanWatcher final
: public ModeWatcher
{
- public:
+public:
BanWatcher(Module* parent)
: ModeWatcher(parent, "ban", MODETYPE_CHANNEL)
{
@@ -199,7 +199,7 @@ class ChannelMatcher final
{
Channel* const chan;
- public:
+public:
ChannelMatcher(Channel* ch)
: chan(ch)
{
@@ -214,12 +214,12 @@ class ChannelMatcher final
class ModuleTimedBans final
: public Module
{
- private:
+private:
ChanModeReference banmode;
CommandTban cmd;
BanWatcher banwatcher;
- public:
+public:
ModuleTimedBans()
: Module(VF_VENDOR | VF_COMMON, "Adds the /TBAN command which allows channel operators to add bans which will be expired after the specified period.")
, banmode(this, "ban")