From 1ed56fd1d5d7fecc04ab83fd7ccfd782508e0b5d Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 9 May 2007 16:40:04 +0000 Subject: Make RCONNECT accept a glob for the first parameter. Thanks, HiroP :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6922 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/rconnect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_spanningtree/rconnect.cpp b/src/modules/m_spanningtree/rconnect.cpp index 395dfd300..6ed97809f 100644 --- a/src/modules/m_spanningtree/rconnect.cpp +++ b/src/modules/m_spanningtree/rconnect.cpp @@ -44,7 +44,7 @@ CmdResult cmd_rconnect::Handle (const char** parameters, int pcnt, userrec *user { if (IS_LOCAL(user)) { - if (!Utils->FindServer(parameters[0])) + if (!Utils->FindServerMask(parameters[0])) { user->WriteServ("NOTICE %s :*** RCONNECT: Server \002%s\002 isn't connected to the network!", user->nick, parameters[0]); return CMD_FAILURE; -- cgit v1.2.3