diff --git a/Changes b/Changes index 0bfdcfb96..b37369643 100644 --- a/Changes +++ b/Changes @@ -1086,3 +1086,4 @@ seen. gmtime warning still there and current line number display) - Fixed yet another serious sts bug, we have to release beta6 soon :P~ - Fixed check_for_target_limit, should be more lenient now +- Sts is going for a record here, fixed ANOTHER auth bug in the SAME function diff --git a/src/s_serv.c b/src/s_serv.c index 5ffc30988..36b46ed19 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -566,7 +566,7 @@ int m_server(cptr, sptr, parc, parv) char *parv[]; { char *servername = NULL; /* Pointer for servername */ - char *password = NULL; + /* char *password = NULL; */ char *ch = NULL; /* */ char *inpath = get_client_name(cptr, TRUE); aClient *acptr = NULL, *ocptr = NULL; @@ -658,7 +658,7 @@ int m_server(cptr, sptr, parc, parv) "Link denied (No matching link configuration)"); } /* Now for checking passwords */ - if (Auth_Check(cptr, aconf->recvauth, password) == -1) + if (Auth_Check(cptr, aconf->recvauth, cptr->passwd) == -1) { sendto_one(cptr, "ERROR :Link denied (Authentication failed) %s",