* note: it is guaranteed that parv[0]..parv[parc-1] are all
* non-NULL pointers.
*/
+#include "config.h"
+
#if 0
/*
* No need to include handlers.h here the signatures must match
/* Do something here */
}
#endif
- ircd_strncpy(cptr->passwd, password, PASSWDLEN);
+ ircd_strncpy(cli_passwd(cptr), password, PASSWDLEN);
return 0;
}
sendto_one(cptr, err_str(ERR_ALREADYREGISTRED), me.name, parv[0]); /* XXX DEAD */
return 0;
}
+ if (ircd_strcmp("PROTO",password)) {
+ proto_send_supported(sptr);
+ return 0;
+ }
ircd_strncpy(cptr->passwd, password, PASSWDLEN);
return 0;
}