aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_topiclock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_topiclock.cpp')
-rw-r--r--src/modules/m_topiclock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_topiclock.cpp b/src/modules/m_topiclock.cpp
index 07f121faa..45b6a8195 100644
--- a/src/modules/m_topiclock.cpp
+++ b/src/modules/m_topiclock.cpp
@@ -42,7 +42,7 @@ class CommandSVSTOPIC : public Command
return CmdResult::FAILURE;
}
- Channel* chan = ServerInstance->FindChan(parameters[0]);
+ Channel* chan = ServerInstance->Channels.Find(parameters[0]);
if (!chan)
return CmdResult::FAILURE;