summaryrefslogtreecommitdiff
path: root/modules/commands/cs_access.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-12-17 13:59:49 +0000
committerSadie Powell <sadie@witchery.services>2023-12-17 13:59:49 +0000
commit6538641e8703084460df70d04196ac271eff1266 (patch)
tree2bf8ab8fdd0fb4839d86607826bc09c3366e3870 /modules/commands/cs_access.cpp
parenteb0e5c89b2a1e59091001ffd0e54582c2ff04212 (diff)
Remove some unnecessary spaces that break editor indentation.
Diffstat (limited to 'modules/commands/cs_access.cpp')
-rw-r--r--modules/commands/cs_access.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp
index 9c0caa9c7..451df5698 100644
--- a/modules/commands/cs_access.cpp
+++ b/modules/commands/cs_access.cpp
@@ -22,7 +22,7 @@ static inline void reset_levels(ChannelInfo *ci)
class AccessChanAccess : public ChanAccess
{
- public:
+public:
int level = 0;
AccessChanAccess(AccessProvider *p) : ChanAccess(p)
@@ -69,7 +69,7 @@ class AccessChanAccess : public ChanAccess
class AccessAccessProvider : public AccessProvider
{
- public:
+public:
static AccessAccessProvider *me;
AccessAccessProvider(Module *o) : AccessProvider(o, "access/access")
@@ -266,7 +266,7 @@ class CommandCSAccess : public Command
Anope::string Nicks;
bool denied = false;
bool override = false;
- public:
+ public:
AccessDelCallback(CommandSource &_source, ChannelInfo *_ci, Command *_c, const Anope::string &numlist) : NumberList(numlist, true), source(_source), ci(_ci), c(_c)
{
if (!source.AccessFor(ci).HasPriv("ACCESS_CHANGE") && source.HasPriv("chanserv/access/modify"))
@@ -366,7 +366,7 @@ class CommandCSAccess : public Command
ListFormatter &list;
ChannelInfo *ci;
- public:
+ public:
AccessListCallback(ListFormatter &_list, ChannelInfo *_ci, const Anope::string &numlist) : NumberList(numlist, false), list(_list), ci(_ci)
{
}
@@ -510,7 +510,7 @@ class CommandCSAccess : public Command
return;
}
- public:
+public:
CommandCSAccess(Module *creator) : Command(creator, "chanserv/access", 2, 5)
{
this->SetDesc(_("Modify the list of privileged users"));
@@ -752,7 +752,7 @@ class CommandCSLevels : public Command
return;
}
- public:
+public:
CommandCSLevels(Module *creator) : Command(creator, "chanserv/levels", 2, 4)
{
this->SetDesc(_("Redefine the meanings of access levels"));
@@ -863,7 +863,7 @@ class CSAccess : public Module
CommandCSAccess commandcsaccess;
CommandCSLevels commandcslevels;
- public:
+public:
CSAccess(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
accessprovider(this), commandcsaccess(this), commandcslevels(this)
{