From 0c750c060839f9018ca129bd7456184792ea0dc0 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 21 Jun 2020 04:25:45 +0100 Subject: Move channel logic from InspIRCd to the new ChannelManager class. --- src/modules/m_sslinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_sslinfo.cpp') diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index 3a23b8f6d..d4db45d51 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -212,7 +212,7 @@ class CommandSSLInfo : public SplitCommand CmdResult HandleChannel(LocalUser* source, const std::string& channel) { - Channel* chan = ServerInstance->FindChan(channel); + Channel* chan = ServerInstance->Channels.Find(channel); if (!chan) { source->WriteNumeric(Numerics::NoSuchChannel(channel)); @@ -259,7 +259,7 @@ class CommandSSLInfo : public SplitCommand CmdResult HandleLocal(LocalUser* user, const Params& parameters) override { - if (ServerInstance->IsChannel(parameters[0])) + if (ServerInstance->Channels.IsChannel(parameters[0])) return HandleChannel(user, parameters[0]); else return HandleUser(user, parameters[0]); -- cgit v1.3.1-10-gc9f91