aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_dccallow.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_dccallow.cpp
parentFix a few Doxygen comment errors. (diff)
Abolish the infernal space before accessibility keywords.
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r--src/modules/m_dccallow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp
index 772103e33..46415164d 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -74,14 +74,14 @@ static const char* const helptext[] =
class BannedFileList final
{
- public:
+public:
std::string filemask;
std::string action;
};
class DCCAllow final
{
- public:
+public:
std::string nickname;
std::string hostmask;
time_t set_on;
@@ -108,7 +108,7 @@ bannedfilelist bfl;
class DCCAllowExt final
: public SimpleExtItem<dccallowlist>
{
- public:
+public:
unsigned long maxentries;
DCCAllowExt(Module* Creator)
@@ -183,7 +183,7 @@ class DCCAllowExt final
class CommandDccallow final
: public Command
{
- public:
+public:
DCCAllowExt& ext;
unsigned long defaultlength;
CommandDccallow(Module* parent, DCCAllowExt& Ext)
@@ -375,13 +375,13 @@ class CommandDccallow final
class ModuleDCCAllow final
: public Module
{
- private:
+private:
DCCAllowExt ext;
CommandDccallow cmd;
bool blockchat = false;
std::string defaultaction;
- public:
+public:
ModuleDCCAllow()
: Module(VF_VENDOR | VF_COMMON, "Allows the server administrator to configure what files are allowed to be sent via DCC SEND and allows users to configure who can send them DCC CHAT and DCC SEND requests.")
, ext(this)