projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git]
/
ircd
/
m_pass.c
diff --git
a/ircd/m_pass.c
b/ircd/m_pass.c
index 31a9046c4912486a62c9370a884ac7245e6d54fa..5dee35bcf129bcb43e261630d503a8b57685991d 100644
(file)
--- a/
ircd/m_pass.c
+++ b/
ircd/m_pass.c
@@
-137,6
+137,10
@@
int m_pass(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
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;
}