diff options
| author | 2020-06-21 04:25:45 +0100 | |
|---|---|---|
| committer | 2021-05-08 15:31:50 +0100 | |
| commit | 0c750c060839f9018ca129bd7456184792ea0dc0 (patch) | |
| tree | 43aa8d0a593afa292e2922d2481b2349e0dc8dfd /src/modules/m_clearchan.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Move channel logic from InspIRCd to the new ChannelManager class.
Diffstat (limited to 'src/modules/m_clearchan.cpp')
| -rw-r--r-- | src/modules/m_clearchan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_clearchan.cpp b/src/modules/m_clearchan.cpp index 0d656a023..7d726fafd 100644 --- a/src/modules/m_clearchan.cpp +++ b/src/modules/m_clearchan.cpp @@ -39,7 +39,7 @@ class CommandClearChan : public Command CmdResult Handle(User* user, const Params& parameters) override { - Channel* chan = activechan = ServerInstance->FindChan(parameters[0]); + Channel* chan = activechan = ServerInstance->Channels.Find(parameters[0]); if (!chan) { user->WriteNotice("The channel " + parameters[0] + " does not exist."); |
