This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

unban of the bot

Old posts that have not been replied to for several years.
Locked
M
MaNUaL

unban of the bot

Post by MaNUaL »

Hi. Today someone tried to ban my eggdrop (v1.6.12). I have set my bot to unban (need-unban) but the bot hadnt unbaned itself....Here is what happened.

This guy banned and kicked my bot by placing a ban to both nick ( bot!*@* ) and host ( *!*@botshost ). The bot only removed the one ban (/chanserv unban #channel) but it didnt removed the other..So it stayed out of the channel..
One solution i found is to place to "need-invite" the value: "/chanserv invite #channel" but the bot enters the channel without removing the second ban
The network i am in uses services: ircservices 4.5 and ircd: bahamut

So i ask:
Has anyone had this problem again? And if yes is there a solution? Is this a bug? How can i make the bot remove both bans?

Thanks guys...
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There is no way for this to happen with IRC services. Or no simple way that is.

When bans are set, the bot will not allways see exactly what is set (IE, it may not yet be on the server, in the channel, or it may have allready been kicked). As suhc, it does not know what to remove.

Unless eggdrop known exactly what ban mask has been used, it can't issue a unban.

To get around this, eggdrop must use every possible combination of it's hostmask to get unbanned (a long, resource hungry process).

The only real way to get around this, is to have a second bot, that is on the channel, and a the 2 bots linked.

The banned bot, will send it's full nick!user@host to the second bot. The second bot will scan the ban list, and issue -b's for all masks that could match the host.
Locked