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/pseudoclients/chanserv.cpp | |
| parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) | |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/pseudoclients/chanserv.cpp')
| -rw-r--r-- | modules/pseudoclients/chanserv.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/pseudoclients/chanserv.cpp b/modules/pseudoclients/chanserv.cpp index 414fb9cc0..95826ea7b 100644 --- a/modules/pseudoclients/chanserv.cpp +++ b/modules/pseudoclients/chanserv.cpp @@ -19,7 +19,9 @@ inline static Anope::string BotModes() ); } -class ChanServCore : public Module, public ChanServService +class ChanServCore + : public Module + , public ChanServService { Reference<BotInfo> ChanServ; std::vector<Anope::string> defaults; @@ -38,7 +40,8 @@ public: /** A timer used to keep the BotServ bot/ChanServ in the channel * after kicking the last user in a channel */ - class ChanServTimer : public Timer + class ChanServTimer + : public Timer { Reference<BotInfo> &ChanServ; ExtensibleItem<bool> &inhabit; |
