diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
| commit | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch) | |
| tree | d4d1fded5c14350eb003a665ca8de500a0440cea /modules/stats/m_chanstats.cpp | |
| parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) | |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/stats/m_chanstats.cpp')
| -rw-r--r-- | modules/stats/m_chanstats.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/stats/m_chanstats.cpp b/modules/stats/m_chanstats.cpp index e0f72e199..408b1d0a6 100644 --- a/modules/stats/m_chanstats.cpp +++ b/modules/stats/m_chanstats.cpp @@ -9,7 +9,8 @@ #include "module.h" #include "modules/sql.h" -class CommandCSSetChanstats : public Command +class CommandCSSetChanstats + : public Command { public: CommandCSSetChanstats(Module *creator) : Command(creator, "chanserv/set/chanstats", 2, 2) @@ -63,7 +64,8 @@ public: } }; -class CommandNSSetChanstats : public Command +class CommandNSSetChanstats + : public Command { public: CommandNSSetChanstats(Module *creator, const Anope::string &sname = "nickserv/set/chanstats", size_t min = 1 ) : Command(creator, sname, min, min + 1) @@ -121,7 +123,8 @@ public: } }; -class CommandNSSASetChanstats : public CommandNSSetChanstats +class CommandNSSASetChanstats + : public CommandNSSetChanstats { public: CommandNSSASetChanstats(Module *creator) : CommandNSSetChanstats(creator, "nickserv/saset/chanstats", 2) @@ -144,7 +147,8 @@ public: } }; -class MySQLInterface : public SQL::Interface +class MySQLInterface + : public SQL::Interface { public: MySQLInterface(Module *o) : SQL::Interface(o) { } @@ -162,7 +166,8 @@ public: } }; -class MChanstats : public Module +class MChanstats + : public Module { SerializableExtensibleItem<bool> cs_stats, ns_stats; |
