X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fm_pass.c;fp=ircd%2Fm_pass.c;h=e34e6819aba9b17c7a183417cf5ab76632b2ee44;hp=eb08e9f6b6a22a36b0e77947e56721480de1692e;hb=46f401ef80a4bede99ed5034d03836f6e7ca6936;hpb=d0a284c68368f5cd58309293e936f82e032f7ae8 diff --git a/ircd/m_pass.c b/ircd/m_pass.c index eb08e9f..e34e681 100644 --- a/ircd/m_pass.c +++ b/ircd/m_pass.c @@ -116,7 +116,7 @@ int mr_pass(struct Client* cptr, struct Client* sptr, int parc, char* parv[]) --len; password[len] = '\0'; - if (EmptyString(password)) + if (password[0] == '\0') return need_more_params(cptr, "PASS"); ircd_strncpy(cli_passwd(cptr), password, PASSWDLEN);