summaryrefslogtreecommitdiff
path: root/modules/commands
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
parenteb0e5c89b2a1e59091001ffd0e54582c2ff04212 (diff)
Remove some unnecessary spaces that break editor indentation.
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/bs_assign.cpp8
-rw-r--r--modules/commands/bs_badwords.cpp10
-rw-r--r--modules/commands/bs_bot.cpp6
-rw-r--r--modules/commands/bs_botlist.cpp4
-rw-r--r--modules/commands/bs_control.cpp6
-rw-r--r--modules/commands/bs_info.cpp6
-rw-r--r--modules/commands/bs_kick.cpp38
-rw-r--r--modules/commands/bs_set.cpp10
-rw-r--r--modules/commands/cs_access.cpp14
-rw-r--r--modules/commands/cs_akick.cpp8
-rw-r--r--modules/commands/cs_ban.cpp8
-rw-r--r--modules/commands/cs_clone.cpp2
-rw-r--r--modules/commands/cs_drop.cpp4
-rw-r--r--modules/commands/cs_enforce.cpp6
-rw-r--r--modules/commands/cs_entrymsg.cpp6
-rw-r--r--modules/commands/cs_flags.cpp8
-rw-r--r--modules/commands/cs_getkey.cpp4
-rw-r--r--modules/commands/cs_info.cpp4
-rw-r--r--modules/commands/cs_invite.cpp4
-rw-r--r--modules/commands/cs_kick.cpp4
-rw-r--r--modules/commands/cs_list.cpp6
-rw-r--r--modules/commands/cs_log.cpp2
-rw-r--r--modules/commands/cs_mode.cpp6
-rw-r--r--modules/commands/cs_register.cpp4
-rw-r--r--modules/commands/cs_seen.cpp8
-rw-r--r--modules/commands/cs_set.cpp32
-rw-r--r--modules/commands/cs_set_misc.cpp4
-rw-r--r--modules/commands/cs_status.cpp2
-rw-r--r--modules/commands/cs_suspend.cpp6
-rw-r--r--modules/commands/cs_sync.cpp4
-rw-r--r--modules/commands/cs_topic.cpp6
-rw-r--r--modules/commands/cs_unban.cpp4
-rw-r--r--modules/commands/cs_updown.cpp6
-rw-r--r--modules/commands/cs_xop.cpp14
-rw-r--r--modules/commands/gl_global.cpp4
-rw-r--r--modules/commands/greet.cpp8
-rw-r--r--modules/commands/help.cpp4
-rw-r--r--modules/commands/hs_del.cpp6
-rw-r--r--modules/commands/hs_group.cpp4
-rw-r--r--modules/commands/hs_list.cpp4
-rw-r--r--modules/commands/hs_off.cpp4
-rw-r--r--modules/commands/hs_on.cpp4
-rw-r--r--modules/commands/hs_request.cpp10
-rw-r--r--modules/commands/hs_set.cpp6
-rw-r--r--modules/commands/ms_cancel.cpp4
-rw-r--r--modules/commands/ms_check.cpp4
-rw-r--r--modules/commands/ms_del.cpp6
-rw-r--r--modules/commands/ms_ignore.cpp4
-rw-r--r--modules/commands/ms_info.cpp4
-rw-r--r--modules/commands/ms_list.cpp6
-rw-r--r--modules/commands/ms_read.cpp6
-rw-r--r--modules/commands/ms_rsend.cpp4
-rw-r--r--modules/commands/ms_send.cpp4
-rw-r--r--modules/commands/ms_sendall.cpp4
-rw-r--r--modules/commands/ms_set.cpp6
-rw-r--r--modules/commands/ms_staff.cpp4
-rw-r--r--modules/commands/ns_access.cpp6
-rw-r--r--modules/commands/ns_ajoin.cpp4
-rw-r--r--modules/commands/ns_alist.cpp4
-rw-r--r--modules/commands/ns_cert.cpp8
-rw-r--r--modules/commands/ns_drop.cpp4
-rw-r--r--modules/commands/ns_getemail.cpp4
-rw-r--r--modules/commands/ns_group.cpp10
-rw-r--r--modules/commands/ns_identify.cpp6
-rw-r--r--modules/commands/ns_info.cpp8
-rw-r--r--modules/commands/ns_list.cpp8
-rw-r--r--modules/commands/ns_logout.cpp4
-rw-r--r--modules/commands/ns_recover.cpp8
-rw-r--r--modules/commands/ns_register.cpp8
-rw-r--r--modules/commands/ns_resetpass.cpp4
-rw-r--r--modules/commands/ns_set.cpp48
-rw-r--r--modules/commands/ns_set_misc.cpp6
-rw-r--r--modules/commands/ns_status.cpp4
-rw-r--r--modules/commands/ns_suspend.cpp6
-rw-r--r--modules/commands/ns_update.cpp4
-rw-r--r--modules/commands/os_akill.cpp10
-rw-r--r--modules/commands/os_chankill.cpp4
-rw-r--r--modules/commands/os_config.cpp4
-rw-r--r--modules/commands/os_defcon.cpp6
-rw-r--r--modules/commands/os_dns.cpp6
-rw-r--r--modules/commands/os_forbid.cpp6
-rw-r--r--modules/commands/os_ignore.cpp8
-rw-r--r--modules/commands/os_info.cpp4
-rw-r--r--modules/commands/os_jupe.cpp4
-rw-r--r--modules/commands/os_kick.cpp4
-rw-r--r--modules/commands/os_kill.cpp4
-rw-r--r--modules/commands/os_list.cpp6
-rw-r--r--modules/commands/os_login.cpp6
-rw-r--r--modules/commands/os_logsearch.cpp4
-rw-r--r--modules/commands/os_mode.cpp6
-rw-r--r--modules/commands/os_modinfo.cpp6
-rw-r--r--modules/commands/os_module.cpp8
-rw-r--r--modules/commands/os_news.cpp14
-rw-r--r--modules/commands/os_noop.cpp4
-rw-r--r--modules/commands/os_oper.cpp4
-rw-r--r--modules/commands/os_reload.cpp4
-rw-r--r--modules/commands/os_session.cpp18
-rw-r--r--modules/commands/os_set.cpp6
-rw-r--r--modules/commands/os_shutdown.cpp8
-rw-r--r--modules/commands/os_stats.cpp6
-rw-r--r--modules/commands/os_svs.cpp8
-rw-r--r--modules/commands/os_sxline.cpp14
-rw-r--r--modules/commands/os_update.cpp4
103 files changed, 357 insertions, 357 deletions
diff --git a/modules/commands/bs_assign.cpp b/modules/commands/bs_assign.cpp
index 53d616e33..8b9a1e47e 100644
--- a/modules/commands/bs_assign.cpp
+++ b/modules/commands/bs_assign.cpp
@@ -13,7 +13,7 @@
class CommandBSAssign : public Command
{
- public:
+public:
CommandBSAssign(Module *creator) : Command(creator, "botserv/assign", 2, 2)
{
this->SetDesc(_("Assigns a bot to a channel"));
@@ -84,7 +84,7 @@ class CommandBSAssign : public Command
class CommandBSUnassign : public Command
{
- public:
+public:
CommandBSUnassign(Module *creator) : Command(creator, "botserv/unassign", 1, 1)
{
this->SetDesc(_("Unassigns a bot from a channel"));
@@ -147,7 +147,7 @@ class CommandBSUnassign : public Command
class CommandBSSetNoBot : public Command
{
- public:
+public:
CommandBSSetNoBot(Module *creator, const Anope::string &sname = "botserv/set/nobot") : Command(creator, sname, 2, 2)
{
this->SetDesc(_("Prevent a bot from being assigned to a channel"));
@@ -210,7 +210,7 @@ class BSAssign : public Module
CommandBSUnassign commandbsunassign;
CommandBSSetNoBot commandbssetnobot;
- public:
+public:
BSAssign(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
nobot(this, "BS_NOBOT"),
commandbsassign(this), commandbsunassign(this), commandbssetnobot(this)
diff --git a/modules/commands/bs_badwords.cpp b/modules/commands/bs_badwords.cpp
index 72e8c60f3..0d8f46613 100644
--- a/modules/commands/bs_badwords.cpp
+++ b/modules/commands/bs_badwords.cpp
@@ -152,7 +152,7 @@ class BadwordsDelCallback : public NumberList
Command *c;
unsigned deleted = 0;
bool override = false;
- public:
+public:
BadwordsDelCallback(CommandSource &_source, ChannelInfo *_ci, Command *_c, const Anope::string &list) : NumberList(list, true), source(_source), ci(_ci), c(_c)
{
if (!source.AccessFor(ci).HasPriv("BADWORDS") && source.HasPriv("botserv/administration"))
@@ -183,7 +183,7 @@ class BadwordsDelCallback : public NumberList
class CommandBSBadwords : public Command
{
- private:
+private:
void DoList(CommandSource &source, ChannelInfo *ci, const Anope::string &word)
{
bool override = !source.AccessFor(ci).HasPriv("BADWORDS");
@@ -204,7 +204,7 @@ class CommandBSBadwords : public Command
{
ListFormatter &list;
BadWords *bw;
- public:
+ public:
BadwordsListCallback(ListFormatter &_list, BadWords *_bw, const Anope::string &numlist) : NumberList(numlist, false), list(_list), bw(_bw)
{
}
@@ -364,7 +364,7 @@ class CommandBSBadwords : public Command
source.Reply(_("Bad words list is now empty."));
}
- public:
+public:
CommandBSBadwords(Module *creator) : Command(creator, "botserv/badwords", 2, 3)
{
this->SetDesc(_("Maintains the bad words list"));
@@ -459,7 +459,7 @@ class BSBadwords : public Module
ExtensibleItem<BadWordsImpl> badwords;
Serialize::Type badword_type;
- public:
+public:
BSBadwords(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbsbadwords(this), badwords(this, "badwords"), badword_type("BadWord", BadWordImpl::Unserialize)
{
diff --git a/modules/commands/bs_bot.cpp b/modules/commands/bs_bot.cpp
index ee44437dd..f7e6b107d 100644
--- a/modules/commands/bs_bot.cpp
+++ b/modules/commands/bs_bot.cpp
@@ -13,7 +13,7 @@
class CommandBSBot : public Command
{
- private:
+private:
void DoAdd(CommandSource &source, const std::vector<Anope::string> &params)
{
const Anope::string &nick = params[1];
@@ -263,7 +263,7 @@ class CommandBSBot : public Command
delete bi;
return;
}
- public:
+public:
CommandBSBot(Module *creator) : Command(creator, "botserv/bot", 1, 6)
{
this->SetDesc(_("Maintains network bot list"));
@@ -374,7 +374,7 @@ class BSBot : public Module
{
CommandBSBot commandbsbot;
- public:
+public:
BSBot(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbsbot(this)
{
diff --git a/modules/commands/bs_botlist.cpp b/modules/commands/bs_botlist.cpp
index b124aa2ce..f2dc371d4 100644
--- a/modules/commands/bs_botlist.cpp
+++ b/modules/commands/bs_botlist.cpp
@@ -13,7 +13,7 @@
class CommandBSBotList : public Command
{
- public:
+public:
CommandBSBotList(Module *creator) : Command(creator, "botserv/botlist", 0, 0)
{
this->SetDesc(_("Lists available bots"));
@@ -69,7 +69,7 @@ class BSBotList : public Module
{
CommandBSBotList commandbsbotlist;
- public:
+public:
BSBotList(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbsbotlist(this)
{
diff --git a/modules/commands/bs_control.cpp b/modules/commands/bs_control.cpp
index 8bb93327b..998415acd 100644
--- a/modules/commands/bs_control.cpp
+++ b/modules/commands/bs_control.cpp
@@ -13,7 +13,7 @@
class CommandBSSay : public Command
{
- public:
+public:
CommandBSSay(Module *creator) : Command(creator, "botserv/say", 2, 2)
{
this->SetDesc(_("Makes the bot say the specified text on the specified channel"));
@@ -73,7 +73,7 @@ class CommandBSSay : public Command
class CommandBSAct : public Command
{
- public:
+public:
CommandBSAct(Module *creator) : Command(creator, "botserv/act", 2, 2)
{
this->SetDesc(_("Makes the bot do the equivalent of a \"/me\" command"));
@@ -135,7 +135,7 @@ class BSControl : public Module
CommandBSSay commandbssay;
CommandBSAct commandbsact;
- public:
+public:
BSControl(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbssay(this), commandbsact(this)
{
diff --git a/modules/commands/bs_info.cpp b/modules/commands/bs_info.cpp
index d9b3afe1d..51da5f173 100644
--- a/modules/commands/bs_info.cpp
+++ b/modules/commands/bs_info.cpp
@@ -13,7 +13,7 @@
class CommandBSInfo : public Command
{
- private:
+private:
void send_bot_channels(std::vector<Anope::string> &buffers, const BotInfo *bi)
{
Anope::string buf;
@@ -33,7 +33,7 @@ class CommandBSInfo : public Command
buffers.push_back(buf);
}
- public:
+public:
CommandBSInfo(Module *creator) : Command(creator, "botserv/info", 1, 1)
{
this->SetSyntax(_("{\037channel\037 | \037nickname\037}"));
@@ -121,7 +121,7 @@ class BSInfo : public Module
{
CommandBSInfo commandbsinfo;
- public:
+public:
BSInfo(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbsinfo(this)
{
diff --git a/modules/commands/bs_kick.cpp b/modules/commands/bs_kick.cpp
index 051400d16..eb890011d 100644
--- a/modules/commands/bs_kick.cpp
+++ b/modules/commands/bs_kick.cpp
@@ -117,7 +117,7 @@ struct KickerDataImpl : KickerData
class CommandBSKick : public Command
{
- public:
+public:
CommandBSKick(Module *creator) : Command(creator, "botserv/kick", 0)
{
this->SetDesc(_("Configures kickers"));
@@ -161,7 +161,7 @@ class CommandBSKick : public Command
class CommandBSKickBase : public Command
{
- public:
+public:
CommandBSKickBase(Module *creator, const Anope::string &cname, int minarg, int maxarg) : Command(creator, cname, minarg, maxarg)
{
}
@@ -170,7 +170,7 @@ class CommandBSKickBase : public Command
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override = 0;
- protected:
+protected:
bool CheckArguments(CommandSource &source, const std::vector<Anope::string> &params, ChannelInfo* &ci)
{
const Anope::string &chan = params[0];
@@ -246,7 +246,7 @@ class CommandBSKickBase : public Command
class CommandBSKickAMSG : public CommandBSKickBase
{
- public:
+public:
CommandBSKickAMSG(Module *creator) : CommandBSKickBase(creator, "botserv/kick/amsg", 2, 3)
{
this->SetDesc(_("Configures AMSG kicker"));
@@ -282,7 +282,7 @@ class CommandBSKickAMSG : public CommandBSKickBase
class CommandBSKickBadwords : public CommandBSKickBase
{
- public:
+public:
CommandB