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/webcpanel/webcpanel.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/webcpanel/webcpanel.cpp')
-rw-r--r-- | modules/webcpanel/webcpanel.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/webcpanel/webcpanel.cpp b/modules/webcpanel/webcpanel.cpp index 7524dc2ca..910547a27 100644 --- a/modules/webcpanel/webcpanel.cpp +++ b/modules/webcpanel/webcpanel.cpp @@ -10,7 +10,8 @@ Module *me; Anope::string provider_name, template_name, template_base, page_title; -class ModuleWebCPanel : public Module +class ModuleWebCPanel + : public Module { ServiceReference<HTTPProvider> provider; Panel panel; @@ -260,7 +261,8 @@ namespace WebPanel bi = BotListByNick->begin()->second; // Pick one... } - struct MyComandReply : CommandReply + struct MyComandReply + : CommandReply { TemplateFileServer::Replacements &re; const Anope::string &k; @@ -300,7 +302,8 @@ namespace WebPanel if (!info) return; - struct MyComandReply : CommandReply + struct MyComandReply + : CommandReply { TemplateFileServer::Replacements &re; const Anope::string &k; |