From 89a21202de35eeec8ef464ada5e9fbb97fd83ba5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 3 Nov 2020 14:48:54 +0000 Subject: Convert ConnectClass from reference<> to std::shared_ptr<>. --- include/modules.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index dc1059234..9fa273889 100644 --- a/include/modules.h +++ b/include/modules.h @@ -968,7 +968,7 @@ class CoreExport Module : public classbase, public usecountbase * @return MOD_RES_ALLOW to force the class to match, MOD_RES_DENY to forbid it, or * MOD_RES_PASSTHRU to allow normal matching (by host/port). */ - virtual ModResult OnSetConnectClass(LocalUser* user, ConnectClass* myclass); + virtual ModResult OnSetConnectClass(LocalUser* user, std::shared_ptr myclass); virtual ModResult OnNumeric(User* user, const Numeric::Numeric& numeric); -- cgit v1.3.1-10-gc9f91