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/extra/m_ldap_oper.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/extra/m_ldap_oper.cpp')
-rw-r--r-- | modules/extra/m_ldap_oper.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/extra/m_ldap_oper.cpp b/modules/extra/m_ldap_oper.cpp index e077215a3..b949782e1 100644 --- a/modules/extra/m_ldap_oper.cpp +++ b/modules/extra/m_ldap_oper.cpp @@ -12,7 +12,8 @@ static std::set<Oper *> my_opers; static Anope::string opertype_attribute; -class IdentifyInterface : public LDAPInterface +class IdentifyInterface + : public LDAPInterface { Reference<User> u; @@ -75,7 +76,8 @@ public: } }; -class LDAPOper : public Module +class LDAPOper + : public Module { ServiceReference<LDAPProvider> ldap; |