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.

Bot does not auto-remove bans, although ban-time exceeded

Old posts that have not been replied to for several years.
Locked
S
Sloop
Halfop
Posts: 44
Joined: Tue Jul 12, 2005 7:04 pm

Bot does not auto-remove bans, although ban-time exceeded

Post by Sloop »

Hi @ll again,

I can't find the answer to my problem:

When an @perator places a ban with /mode #mychannel +b john!doe@just.testing.org

the ban is NOT removed by my bot. WHY??? All the bans remains there. I tried also to place a ban by the bot itself in the console with .+ban #mychannel john!doe@just.testing.org

Same [censored]. Anyone can help? My settings are:

bounce-bans 0 (I also tried to switch it to 1)

.chaninfo
Settings for dynamic channel #mychannel:
Protect modes (chanmode): +tn-klipsmcRM
Idle Kick after (idle-kick): DON'T!
stopnethack-mode: 3
aop-delay: 0:0
revenge-mode: 0
ban-time: 1
exempt-time: 0
invite-time: 5
Other modes:
-inactive -statuslog -secret +shared
+greet -seen -cycle +dontkickops
+protectops +protectfriends +revenge +revengebot
-bitch +autoop -autovoice -nodesynch
+enforcebans -dynamicbans +userbans -autohalfop
+protecthalfops
-dynamicexempts +userexempts -dynamicinvites +userinvites
flood settings: chan ctcp join kick deop nick
number: 0 5 20 6 6 7
time : 0 30 60 10 10 60

I entered now ban-time = 1 to test quickly. I tried .rehash but also kill -9 <procid> and then restart my bot. Nothing worked, the bans in my channel always remains.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

set +dynamicbans and max-bans to the maximum number of channel bans your ircd supports

and how about spending less time posting elementary questions here and more time reading the docs and searching these forums for the answers to your already answered questions?
S
Sloop
Halfop
Posts: 44
Joined: Tue Jul 12, 2005 7:04 pm

Post by Sloop »

demond, I red a lot of stuff, and before posting I am looking to find my solution on my own, but if I really can't solve it myself I post it here.

I already have set-up the max-bans according to the Bahamut-settings my net allows, but I don't want dynamic-bans. Is that the only possibility to do that??
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

now sit back and think a little... why wouldn't you want dynamic bans? you are completely ignorant of the concept of channel ban management; you have 100 channel bans at your disposal yet even those won't be enough if you keep adding up new bans without clearing the old ones

+dynamicbans is there for a reason, and the reason is that every IRC server has channel bans number limit, so some form of ban management is needed, and +dynamicbans implements the most basic (yet sufficient in most cases) form of such management

I've got a feeling you don't understand what +dynamicbans means; it doesn't mean the bans are automatically dropped altogether - they remain on bot's banlist and are re-set on the channel if needed (when user matching banned hostmask joins the channel) - so they are automatically removed from the channel only, not from bot's internal banlist
S
Sloop
Halfop
Posts: 44
Joined: Tue Jul 12, 2005 7:04 pm

Post by Sloop »

demond, you're right...NOW I understand the function of +dynamicbans. I tell you what confused me and led me NOT to understand it:

I thought the dynamicban of eggdrop work the same way as AKICK works. When I put something in the AKICK list, it does NOT appear in the actual bans, when I retrieve the bans of a channel. Only if a user matches the AKICK host joins the channel, then he will be kicked off the ChanServ. After that I can see the ban still in the channel, but it will removed automatically.

I though that's the way dynamicbans of eggdrop worked, that confused me.

I'm sorried man, I didn't want to bother or getting on ur nerves. But anyhow, thanx again for your tip and the description. Now I got it! :)

Have a nice day,
Sloop.
Locked