aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_namesx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_namesx.cpp')
-rw-r--r--src/modules/m_namesx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_namesx.cpp b/src/modules/m_namesx.cpp
index 301f81c37..fed1a00c7 100644
--- a/src/modules/m_namesx.cpp
+++ b/src/modules/m_namesx.cpp
@@ -128,7 +128,7 @@ class ModuleNamesX
continue;
}
- Channel* chan = ServerInstance->FindChan(channel.substr(hashpos));
+ Channel* chan = ServerInstance->Channels.Find(channel.substr(hashpos));
if (!chan)
{
// Should never happen.