Line 1014 of messages.c reads as:
send_cmd(ServerName, "307 %s :%s is a registered nick", source,
I believe the correct format would be
send_cmd(ServerName, "307 %s %s :is a registered nick", source,
Regards,
- Phar Lap -
~~~~~~[EDIT]~~~~~~Argh, I forgot to ask if this reply is necessary at all? The problem is that you have to hardcode this 307-reply message but when someone whoises a normal identified user, the IRCd will reply with its own message which can be a bit different ("has identified for this nick").
So why not just leave it all up to IRCd and set +r on BOTSERV created nicks
OR just don't reply a 307 for them
at all?
Opinions please!

[Edited on 3-8-2006 by PharLap]