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_uninvite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_uninvite.cpp') diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp index 007203028..988c9da38 100644 --- a/src/modules/m_uninvite.cpp +++ b/src/modules/m_uninvite.cpp @@ -57,7 +57,7 @@ class CommandUninvite : public Command else u = ServerInstance->Users.Find(parameters[0]); - Channel* c = ServerInstance->FindChan(parameters[1]); + Channel* c = ServerInstance->Channels.Find(parameters[1]); if ((!c) || (!u) || (u->registered != REG_ALL)) { -- cgit v1.3.1-10-gc9f91