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_spanningtree/svsjoin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree') diff --git a/src/modules/m_spanningtree/svsjoin.cpp b/src/modules/m_spanningtree/svsjoin.cpp index 6b1d2835c..032633416 100644 --- a/src/modules/m_spanningtree/svsjoin.cpp +++ b/src/modules/m_spanningtree/svsjoin.cpp @@ -25,7 +25,7 @@ CmdResult CommandSVSJoin::Handle(const std::vector& parameters, User *user) { // Check for valid channel name - if (!ServerInstance->IsChannel(parameters[1].c_str(), ServerInstance->Config->Limits.ChanMax)) + if (!ServerInstance->IsChannel(parameters[1])) return CMD_FAILURE; // Check target exists -- cgit v1.2.3