+2006-05-15 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/s_auth.c (check_auth_finished): Only check passwords on
+ user ports.
+
2006-05-14 Michael Poole <mdpoole@troilus.org>
* doc/example.conf (Connect): Mention the vhost option.
* as possible so that iauth's challenge/response (which uses PASS
* for responses) is not confused with the client's password.
*/
- if (!FlagHas(&auth->flags, AR_PASSWORD_CHECKED))
+ if (IsUserPort(auth->client)
+ && !FlagHas(&auth->flags, AR_PASSWORD_CHECKED))
{
struct ConfItem *aconf;
aconf = cli_confs(auth->client)->value.aconf;
- if (!EmptyString(aconf->passwd)
+ if (aconf
+ && !EmptyString(aconf->passwd)
&& strcmp(cli_passwd(auth->client), aconf->passwd))
{
ServerStats->is_ref++;