[IRCServices] Bug: "Guest" nicks _can_be_ registered

Benedikt Fraunhofer toasta at wor.net
Sun Nov 5 12:43:50 PST 2000


Hi,

services 4.4.8



[21:18:39] -NickServ- Nickname Guest42073174 registered under your
account: marvin at main.brain.traced.net
[21:18:40] -NickServ- Your password is test123 - remember this for later
use.


Just a small bug and i guess just some typo in the following lines:

if (nicklen <= prefixlen+7 && nicklen >= prefixlen+2 &&
       stristr(u->nick, NSGuestNickPrefix) == u->nick &&
       strspn(u->nick+prefixlen, "1234567890") == nicklen-prefixlen) {



toasta



---------------------------------------------------------------
To unsubscribe, send email to majordomo at snow.shadowfire.org
with "unsubscribe ircservices" in the body, without the quotes.