]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/pam.c
Implement channel exception list (mode 'e')
[ngircd-alex.git] / src / ngircd / pam.c
index 0d4f27f066c91dae8da42e21ec0f3136ce03af0a..6382c594db0747f5872b7042cb553713d3abd4f1 100644 (file)
@@ -7,14 +7,17 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
- * PAM User Authentification
  */
 
 #include "portab.h"
 
 #ifdef PAM
 
+/**
+ * @file
+ * PAM User Authentification
+ */
+
 #include "imp.h"
 #include <assert.h>
 
@@ -100,7 +103,7 @@ PAM_Authenticate(CLIENT *Client) {
        if (password)
                free(password);
        password = strdup(Client_Password(Client));
-       conv.appdata_ptr = password;
+       conv.appdata_ptr = Client_Password(Client);
 
        /* Initialize PAM */
        retval = pam_start("ngircd", Client_OrigUser(Client), &conv, &pam);