Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_pass.c
index c436ec8c2ff90fb2ea52b963c17832bf2400c3bd..31a9046c4912486a62c9370a884ac7245e6d54fa 100644 (file)
@@ -114,7 +114,7 @@ int mr_pass(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
        /* Do something here */
   }
 #endif
-  ircd_strncpy(cptr->passwd, password, PASSWDLEN);
+  ircd_strncpy(cli_passwd(cptr), password, PASSWDLEN);
   return 0;
 }