Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [BUG] malformed numeric 307  (Read 5198 times)

0 Members and 1 Guest are viewing this topic.

PharLap

  • Guest
[BUG] malformed numeric 307
« on: August 03, 2006, 08:18:07 AM »

Line 1014 of messages.c reads as:

Code: [Select]
send_cmd(ServerName, "307 %s :%s is a registered nick", source,

I believe the correct format would be
Code: [Select]
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]
Logged

Pieter Bootsma

  • Team
  • *
  • Offline Offline
  • Posts: 189
    • http://geniusdex.net/
(No subject)
« Reply #1 on: August 03, 2006, 09:52:56 AM »

We have to catch WHOIS as well, because a whois command can be forwarded to another server (for example the one the user is on), and the server HAS to reply to that whois. We can't just leave it to the IRCd...
Logged
Pages: [1]   Go Up