Builtin NickServ authentification broken
Status: Beta
Brought to you by:
wildchild
I'm not a very good programmer, but I think I found a
bug with the /nick NICK PASSWORD command. It's used by
JPilot to give the password for the nick. It seems
broken.
This line in s_user.c don't seem quite right... is it a
typo ? (or am I going to crash my IRCd ??? ;o))
if ((parc > 2) && (strlen(parv[2]) <
sizeof(sptr->passwd)))
sizeof(sptr->passwd) ??? I don't understand what it
means, perhaps a bug ? However, I just changed it to:
if ((parc > 2) && (strlen(parv[2]) =< PASSWDLEN))
And now my JPilot Java Applet works great !