diff options
| author | Sadie Powell <sadie@witchery.services> | 2023-12-17 13:59:49 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2023-12-17 13:59:49 +0000 |
| commit | 6538641e8703084460df70d04196ac271eff1266 (patch) | |
| tree | 2bf8ab8fdd0fb4839d86607826bc09c3366e3870 /modules/commands | |
| parent | eb0e5c89b2a1e59091001ffd0e54582c2ff04212 (diff) | |
Remove some unnecessary spaces that break editor indentation.
Diffstat (limited to 'modules/commands')
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> ¶ms) { 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> ¶ms, 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 |
