diff options
-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; |