aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-03 14:48:54 +0000
committerGravatar Sadie Powell2020-11-03 19:54:13 +0000
commit89a21202de35eeec8ef464ada5e9fbb97fd83ba5 (patch)
treeb70c242c58bae562bef1d42c34c9d5d628d81208 /include/modules.h
parentClean up a bunch of contructors and destructors. (diff)
Convert ConnectClass from reference<> to std::shared_ptr<>.
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h2
1 files changed, 1 insertions, 1 deletions
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<ConnectClass> myclass);
virtual ModResult OnNumeric(User* user, const Numeric::Numeric& numeric);