summaryrefslogtreecommitdiff
path: root/modules/extra/m_ssl_openssl.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
committerSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
commita6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch)
treed4d1fded5c14350eb003a665ca8de500a0440cea /modules/extra/m_ssl_openssl.cpp
parent398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff)
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/extra/m_ssl_openssl.cpp')
-rw-r--r--modules/extra/m_ssl_openssl.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/extra/m_ssl_openssl.cpp b/modules/extra/m_ssl_openssl.cpp
index 12cff478b..470f5f43f 100644
--- a/modules/extra/m_ssl_openssl.cpp
+++ b/modules/extra/m_ssl_openssl.cpp
@@ -23,7 +23,8 @@
static SSL_CTX *server_ctx, *client_ctx;
-class MySSLService : public SSLService
+class MySSLService
+ : public SSLService
{
public:
MySSLService(Module *o, const Anope::string &n);
@@ -34,7 +35,8 @@ public:
void Init(Socket *s) override;
};
-class SSLSocketIO : public SocketIO
+class SSLSocketIO
+ : public SocketIO
{
public:
/* The SSL socket for this socket */
@@ -91,7 +93,8 @@ public:
class SSLModule;
static SSLModule *me;
-class SSLModule : public Module
+class SSLModule
+ : public Module
{
Anope::string certfile, keyfile;