Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Expiring bans for botserv  (Read 5607 times)

0 Members and 1 Guest are viewing this topic.

Saurios

  • Anope User
  • Offline Offline
  • Posts: 2
Expiring bans for botserv
« on: April 04, 2012, 03:15:40 AM »

As I mentioned in the irc channel before.

Make it possible to add a ban duration for botserv's kick/ban options (for bans set by flood controls) (just like !tkb in bs_fantasy_ext)...

This could be implemented in two different ways...
One global setting or as an extra option for every setting separately (or a combination of the two, like a global setting that can be overruled by separate settings)...

for example:
/msg botserv kick banduration 1d or /msg botserv set banduration 1d
and
/msg botserv kick flood on 3 4 5 1h30m
for banning for 1 and a half hour the third time someone "floods" 4 lines in 5 seconds
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: Expiring bans for botserv
« Reply #1 on: April 06, 2012, 04:22:19 AM »

Conditional +1, the condition being that this only works on IRCds that support a form of TBAN or timed ban. The IRCd has already accepted the additional overhead, so let the ircd deal with it.

Otherwise I'd say no, it's not worth services keeping track of all the timers and callbacks when a client bot can handle this and keep the overhead off services. Yes, this is a popular feature in Eggdrop, but Eggdrops normally only monitor 1 or a few channels and not the entire network.
« Last Edit: April 06, 2012, 04:24:37 AM by katsklaw »
Logged
Pages: [1]   Go Up