X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fpam.c;h=88872c47c5f841d9b008da5fdc59a39281f4f2bb;hb=3a3b3225d42ede7a062fa5e4403a7f445baf518b;hp=6382c594db0747f5872b7042cb553713d3abd4f1;hpb=b681aa5b9f985247df31772282e520479ffb2ece;p=ngircd-alex.git diff --git a/src/ngircd/pam.c b/src/ngircd/pam.c index 6382c594..88872c47 100644 --- a/src/ngircd/pam.c +++ b/src/ngircd/pam.c @@ -102,8 +102,8 @@ PAM_Authenticate(CLIENT *Client) { /* Set supplied client password */ if (password) free(password); - password = strdup(Client_Password(Client)); - conv.appdata_ptr = Client_Password(Client); + password = strdup(Conn_Password(Client_Conn(Client))); + conv.appdata_ptr = Conn_Password(Client_Conn(Client)); /* Initialize PAM */ retval = pam_start("ngircd", Client_OrigUser(Client), &conv, &pam);