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/operserv.cpp | |
| parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) | |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/pseudoclients/operserv.cpp')
| -rw-r--r-- | modules/pseudoclients/operserv.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/pseudoclients/operserv.cpp b/modules/pseudoclients/operserv.cpp index 9f8e320e0..6e793a599 100644 --- a/modules/pseudoclients/operserv.cpp +++ b/modules/pseudoclients/operserv.cpp @@ -11,7 +11,8 @@ #include "module.h" -class SGLineManager : public XLineManager +class SGLineManager + : public XLineManager { public: SGLineManager(Module *creator) : XLineManager(creator, "xlinemanager/sgline", 'G') { } @@ -63,7 +64,8 @@ public: } }; -class SQLineManager : public XLineManager +class SQLineManager + : public XLineManager { ServiceReference<NickServService> nickserv; @@ -142,7 +144,8 @@ public: } }; -class SNLineManager : public XLineManager +class SNLineManager + : public XLineManager { public: SNLineManager(Module *creator) : XLineManager(creator, "xlinemanager/snline", 'N') { } @@ -180,7 +183,8 @@ public: } }; -class OperServCore : public Module +class OperServCore + : public Module { Reference<BotInfo> OperServ; SGLineManager sglines; |
