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/extra/stats | |
| parent | eb0e5c89b2a1e59091001ffd0e54582c2ff04212 (diff) | |
Remove some unnecessary spaces that break editor indentation.
Diffstat (limited to 'modules/extra/stats')
| -rw-r--r-- | modules/extra/stats/cs_fantasy_stats.cpp | 8 | ||||
| -rw-r--r-- | modules/extra/stats/cs_fantasy_top.cpp | 12 | ||||
| -rw-r--r-- | modules/extra/stats/irc2sql/irc2sql.h | 4 | ||||
| -rw-r--r-- | modules/extra/stats/m_chanstats.cpp | 14 |
4 files changed, 19 insertions, 19 deletions
diff --git a/modules/extra/stats/cs_fantasy_stats.cpp b/modules/extra/stats/cs_fantasy_stats.cpp index 3416947d1..e9c777534 100644 --- a/modules/extra/stats/cs_fantasy_stats.cpp +++ b/modules/extra/stats/cs_fantasy_stats.cpp @@ -14,7 +14,7 @@ class MySQLInterface : public SQL::Interface { - public: +public: MySQLInterface(Module *o) : SQL::Interface(o) { } void OnResult(const SQL::Result &r) override @@ -33,7 +33,7 @@ class MySQLInterface : public SQL::Interface class CommandCSStats : public Command { - public: +public: CommandCSStats(Module *creator) : Command (creator, "chanserv/stats", 0, 2) { this->SetDesc(_("Displays your Channel Stats")); @@ -45,7 +45,7 @@ class CommandCSStats : public Command class CommandCSGStats : public Command { - public: +public: CommandCSGStats(Module *creator) : Command (creator, "chanserv/gstats", 0, 2) { this->SetDesc(_("Displays your Global Stats")); @@ -65,7 +65,7 @@ class CSStats : public Module ServiceReference<SQL::Provider> sql; MySQLInterface sqlinterface; Anope::string prefix; - public: +public: CSStats(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR), commandcsstats(this), commandcsgstats(this), sql("", ""), sqlinterface(this) { diff --git a/modules/extra/stats/cs_fantasy_top.cpp b/modules/extra/stats/cs_fantasy_top.cpp index e2564db90..0d7b88bdd 100644 --- a/modules/extra/stats/cs_fantasy_top.cpp +++ b/modules/extra/stats/cs_fantasy_top.cpp @@ -14,7 +14,7 @@ class MySQLInterface : public SQL::Interface { - public: +public: MySQLInterface(Module *o) : SQL::Interface(o) { } void OnResult(const SQL::Result &r) override @@ -32,7 +32,7 @@ class MySQLInterface : public SQL::Interface class CommandCSTop : public Command { - public: +public: CommandCSTop(Module *creator) : Command (creator, "chanserv/top", 0, 2) { this->SetDesc(_("Displays the top 3 users of a channel")); @@ -44,7 +44,7 @@ class CommandCSTop : public Command class CommandCSTop10 : public Command { - public: +public: CommandCSTop10(Module *creator) : Command (creator, "chanserv/top10", 0, 2) { this->SetDesc(_("Displays the top 10 users of a channel")); @@ -56,7 +56,7 @@ class CommandCSTop10 : public Command class CommandCSGTop : public Command { - public: +public: CommandCSGTop(Module *creator) : Command (creator, "chanserv/gtop", 0, 1) { this->SetDesc(_("Displays the top 3 users of the network")); @@ -67,7 +67,7 @@ class CommandCSGTop : public Command class CommandCSGTop10 : public Command { - public: +public: CommandCSGTop10(Module *creator) : Command (creator, "chanserv/gtop10", 0, 1) { this->SetDesc(_("Displays the top 10 users of the network")); @@ -89,7 +89,7 @@ class CSTop : public Module MySQLInterface sqlinterface; Anope::string prefix; - public: +public: CSTop(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR), commandcstop(this), commandcsgtop(this), commandcstop10(this), commandcsgtop10(this), sql("", ""), sqlinterface(this) diff --git a/modules/extra/stats/irc2sql/irc2sql.h b/modules/extra/stats/irc2sql/irc2sql.h index d343837b5..700e28cf2 100644 --- a/modules/extra/stats/irc2sql/irc2sql.h +++ b/modules/extra/stats/irc2sql/irc2sql.h @@ -13,7 +13,7 @@ class MySQLInterface : public SQL::Interface { - public: +public: MySQLInterface(Module *o) : SQL::Interface(o) { } void OnResult(const SQL::Result &r) override @@ -49,7 +49,7 @@ class IRC2SQL : public Module void CheckTables(); - public: +public: IRC2SQL(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR), sql("", ""), sqlinterface(this), versionreply(this, "CTCPVERSION") { diff --git a/modules/extra/stats/m_chanstats.cpp b/modules/extra/stats/m_chanstats.cpp index 34cd08056..204eb7cd6 100644 --- a/modules/extra/stats/m_chanstats.cpp +++ b/modules/extra/stats/m_chanstats.cpp @@ -11,7 +11,7 @@ class CommandCSSetChanstats : public Command { - public: +public: CommandCSSetChanstats(Module *creator) : Command(creator, "chanserv/set/chanstats", 2, 2) { this->SetDesc(_("Turn chanstats statistics on or off")); @@ -65,7 +65,7 @@ class CommandCSSetChanstats : public Command class CommandNSSetChanstats : public Command { - public: +public: CommandNSSetChanstats(Module *creator, const Anope::string &sname = "nickserv/set/chanstats", size_t min = 1 ) : Command(creator, sname, min, min + 1) { this->SetDesc(_("Turn chanstats statistics on or off")); @@ -123,7 +123,7 @@ class CommandNSSetChanstats : public Command class CommandNSSASetChanstats : public CommandNSSetChanstats { - public: +public: CommandNSSASetChanstats(Module *creator) : CommandNSSetChanstats(creator, "nickserv/saset/chanstats", 2) { this->ClearSyntax(); @@ -146,7 +146,7 @@ class CommandNSSASetChanstats : public CommandNSSetChanstats class MySQLInterface : public SQL::Interface { - public: +public: MySQLInterface(Module *o) : SQL::Interface(o) { } void OnResult(const SQL::Result &r) override @@ -483,7 +483,7 @@ class MChanstats : public Module } - public: +public: MChanstats(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR), cs_stats(this, "CS_STATS"), ns_stats(this, "NS_STATS"), @@ -547,7 +547,7 @@ class MChanstats : public Module return EVENT_CONTINUE; } - private: +private: void OnModeChange(Channel *c, User *u) { if (!u || !u->Account() || !c->ci || !cs_stats.HasExt(c->ci)) @@ -559,7 +559,7 @@ class MChanstats : public Module this->RunQuery(query); } - public: +public: void OnPreUserKicked(const MessageSource &source, ChanUserContainer *cu, const Anope::string &kickmsg) override { if (!cu->chan->ci || !cs_stats.HasExt(cu->chan->ci)) |
