eggdrop icon indicating copy to clipboard operation
eggdrop copied to clipboard

Feature Request: account bans

Open vanosg opened this issue 1 year ago • 2 comments

While Eggdrop doesn't have extbans in its future, perhaps we could modify a similar internal Eggdrop functionality to ban users based on their account.

Use case 1: .+accountban badaccount monitors joins/registrations and, if a user is seen logged into that account, Eggdrop issues a traditional !@hostmask.com ban for the hostmask attached to that account. From there it is managed like any other temporary channel hostmask ban. Depending on the implementation, this would require a new section of the userfile to store account bans (or, where/how else?)

Use case 2: .+ban $baduser (or pick another prefix) modifies the existing ban system to store the accountname in the ban section of the userfile. These accounts are skipped by the hostmask banning system, but then used to check joining/registering accountnames against.

Or something else. Add thoughts and comments below

vanosg avatar Aug 18 '24 20:08 vanosg

It should also be provided whether the ban is global or referred to only one channel

carlin0 avatar Aug 19 '24 07:08 carlin0

In theory it should already be possible to create a user, add the account to that user and give them the +k (autokick) flag.

I need to test this at some point with a willing participant.

DasBrain avatar Aug 19 '24 08:08 DasBrain