From 5c9427cde0a949a17a476311db0a2a275345337b Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 18 May 2013 18:55:01 +0100 Subject: Remove the size argument from IsChannel and IsNick. There was only one case (which was probably an error) where these methods were not set to their ServerLimits value. --- src/modules/m_conn_join.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_conn_join.cpp') diff --git a/src/modules/m_conn_join.cpp b/src/modules/m_conn_join.cpp index c49afbdfc..bfac8147d 100644 --- a/src/modules/m_conn_join.cpp +++ b/src/modules/m_conn_join.cpp @@ -57,7 +57,7 @@ class ModuleConnJoin : public Module while (chans.GetToken(chan)) { - if (ServerInstance->IsChannel(chan, ServerInstance->Config->Limits.ChanMax)) + if (ServerInstance->IsChannel(chan)) Channel::JoinUser(localuser, chan); } } -- cgit v1.3.1-10-gc9f91