Code: Select all
.chanset #chan -dynamicbans
Code: Select all
.chanset #chan ban-time
Alchera wrote:Via DCCCode: Select all
.chanset #chan -dynamicbans
[#1] If you use a tcl script utilizing 'newchanban' or 'newban' then it will unban after the ban-time set in the .conf file.WeiJie wrote:Mmm... I understand what you mean...
But now my bot unban the hostmask after few minutes when I've banned the hostmask even though I've setted the ban-time to 1800mins.
So I suppose the bot will unban the IP after 1800mins and not after FEW minutes...
awyeah wrote:[#1] If you use a tcl script utilizing 'newchanban' or 'newban' then it will unban after the ban-time set in the .conf file.WeiJie wrote:Mmm... I understand what you mean...
But now my bot unban the hostmask after few minutes when I've banned the hostmask even though I've setted the ban-time to 1800mins.
So I suppose the bot will unban the IP after 1800mins and not after FEW minutes...
[#2] If you use a tcl script like putserv "MODE $chan +b $banmask" and it doesn't have newchanban or newban, then you can put a timer to unban that banmask (-b) whenever you want!
Code: Select all
set global-ban-time 120