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_cycle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_cycle.cpp') diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp index 05ca78436..3b330ac8a 100644 --- a/src/modules/m_cycle.cpp +++ b/src/modules/m_cycle.cpp @@ -42,7 +42,7 @@ class CommandCycle : public SplitCommand CmdResult HandleLocal(LocalUser* user, const Params& parameters) override { - Channel* channel = ServerInstance->FindChan(parameters[0]); + Channel* channel = ServerInstance->Channels.Find(parameters[0]); std::string reason = "Cycling"; if (parameters.size() > 1) -- cgit v1.3.1-10-gc9f91