Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: Kaj on April 03, 2015, 10:19:19 PM

Title: Services squit on nick collision
Post by: Kaj on April 03, 2015, 10:19:19 PM
Hey,

Today I've added a new BotServ bot using /bs bot add

Apparently there was a user on the network online with the same nickname, which resulted into this situation:

Code: [Select]
22:33:55] *** Global -- from OperServ: USERS: Ace!services@services.chattersweb.nl is now an IRC operator.
[22:33:55] *** Permanent Global Q:line added for Ace on Fri Apr  3 20:33:54 2015 GMT (from services.chattersweb.nl: Reserved for services)
[22:33:55] -BotServ- Ace!services@services.chattersweb.nl (Channel Registration Service) toegevoegd aan de botlijst.
[22:33:55] *** Notice -- Received KILL message for Ace!dyfozoseic@CW-46A72567.adsl2.static.versatel.nl from services.chattersweb.nl Path: irc!services!Nick collision
[22:33:55] *** Notice -- Received KILL message for Ace!services@services.chattersweb.nl from services.chattersweb.nl Path: irc!services!Nick collision
[22:33:55] *** Global -- from irc.chattersweb.nl: Received SQUIT services.chattersweb.nl from services.chattersweb.nl[127.0.0.1] (Kill loop detected. Are Services U:Lined?)

How can this happen? The services are U:Lined in all of the unrealircd's on the network.
Title: Re: Services squit on nick collision
Post by: Adam on April 03, 2015, 10:39:45 PM
It does that if 2+ of its clients gets killed in the same second. This is probably a bug it shouldn't knowingly introduce a bot into another user. What happens is once the bot is created it collides and both lose, which reintroduces the bot which then crosses with the ircd's kill which causes 2 kills.