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_spanningtree/fmode.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Move channel logic from InspIRCd to the new ChannelManager class.
Diffstat (limited to 'src/modules/m_spanningtree/fmode.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/fmode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/fmode.cpp b/src/modules/m_spanningtree/fmode.cpp index d836b05e5..e59812efa 100644 --- a/src/modules/m_spanningtree/fmode.cpp +++ b/src/modules/m_spanningtree/fmode.cpp @@ -30,7 +30,7 @@ CmdResult CommandFMode::Handle(User* who, Params& params) { time_t TS = ServerCommand::ExtractTS(params[1]); - Channel* const chan = ServerInstance->FindChan(params[0]); + Channel* const chan = ServerInstance->Channels.Find(params[0]); if (!chan) // Channel doesn't exist return CmdResult::FAILURE; @@ -63,7 +63,7 @@ CmdResult CommandLMode::Handle(User* who, Params& params) // :<sid> LMODE <chan> <chants> <modechr> [<mask> <setts> <setter>]+ time_t chants = ServerCommand::ExtractTS(params[1]); - Channel* const chan = ServerInstance->FindChan(params[0]); + Channel* const chan = ServerInstance->Channels.Find(params[0]); if (!chan) return CmdResult::FAILURE; // Channel doesn't exist. |
