aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_conn_join.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_conn_join.cpp')
-rw-r--r--src/modules/m_conn_join.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_conn_join.cpp b/src/modules/m_conn_join.cpp
index afd464a17..a40f70327 100644
--- a/src/modules/m_conn_join.cpp
+++ b/src/modules/m_conn_join.cpp
@@ -34,7 +34,7 @@ static void JoinChannels(LocalUser* u, const std::string& chanlist)
while (chans.GetToken(chan))
{
- if (ServerInstance->IsChannel(chan))
+ if (ServerInstance->Channels.IsChannel(chan))
Channel::JoinUser(u, chan);
}
}