aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/ijoin.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-06-21 04:25:45 +0100
committerGravatar Sadie Powell2021-05-08 15:31:50 +0100
commit0c750c060839f9018ca129bd7456184792ea0dc0 (patch)
tree43aa8d0a593afa292e2922d2481b2349e0dc8dfd /src/modules/m_spanningtree/ijoin.cpp
parentMerge branch 'insp3' into master. (diff)
Move channel logic from InspIRCd to the new ChannelManager class.
Diffstat (limited to 'src/modules/m_spanningtree/ijoin.cpp')
-rw-r--r--src/modules/m_spanningtree/ijoin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/ijoin.cpp b/src/modules/m_spanningtree/ijoin.cpp
index 3ffc5d9e2..38d5edebe 100644
--- a/src/modules/m_spanningtree/ijoin.cpp
+++ b/src/modules/m_spanningtree/ijoin.cpp
@@ -27,7 +27,7 @@
CmdResult CommandIJoin::HandleRemote(RemoteUser* user, Params& params)
{
- Channel* chan = ServerInstance->FindChan(params[0]);
+ Channel* chan = ServerInstance->Channels.Find(params[0]);
if (!chan)
{
// Desync detected, recover
@@ -60,7 +60,7 @@ CmdResult CommandIJoin::HandleRemote(RemoteUser* user, Params& params)
CmdResult CommandResync::HandleServer(TreeServer* server, CommandBase::Params& params)
{
ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "Resyncing " + params[0]);
- Channel* chan = ServerInstance->FindChan(params[0]);
+ Channel* chan = ServerInstance->Channels.Find(params[0]);
if (!chan)
{
// This can happen for a number of reasons, safe to ignore