diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-09 16:40:04 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-09 16:40:04 +0000 |
commit | 1ed56fd1d5d7fecc04ab83fd7ccfd782508e0b5d (patch) | |
tree | f83d35861385c01dcdf620001300108bd5a7bcc1 | |
parent | cba3552f3a77f1c98dd2a718b4b5d9864267b48d (diff) |
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
-rw-r--r-- | src/modules/m_spanningtree/rconnect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |