aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-10-31 16:55:18 +0000
committerGravatar Sadie Powell2020-10-31 16:55:18 +0000
commit4176261edf7023dcc295daac2c722b93dae374f8 (patch)
treeb97d000a763c3dee9f611341bb81dbb8eaa3d7de /src/users.cpp
parentMerge branch 'insp3' into master. (diff)
Convert OperInfo from reference<> to std::shared_ptr<>.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 418b43ea4..5063da124 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -380,7 +380,7 @@ CullResult FakeUser::cull()
return User::cull();
}
-void User::Oper(OperInfo* info)
+void User::Oper(std::shared_ptr<OperInfo> info)
{
ModeHandler* opermh = ServerInstance->Modes.FindMode('o', MODETYPE_USER);
if (opermh)