constify OpBase and friends

This commit is contained in:
Michael Davidsaver
2023-01-26 10:52:53 -08:00
parent 78f54455e6
commit f75bcc5044
6 changed files with 63 additions and 53 deletions
+3 -6
View File
@@ -37,13 +37,10 @@ ServerChan::~ServerChan() {
}
ServerChannelControl::ServerChannelControl(const std::shared_ptr<ServerConn> &conn, const std::shared_ptr<ServerChan>& channel)
:server(conn->iface->server->internal_self)
:server::ChannelControl(channel->name, conn->cred, None)
,server(conn->iface->server->internal_self)
,chan(channel)
{
_op = None;
_name = channel->name;
_cred = conn->cred;
}
{}
ServerChannelControl::~ServerChannelControl() {}