irctest.server_tests.chmodes.account_extban

Account extended ban (IRCv3 account-extban)

AccountExtbanTestCase

Tests for the IRCv3 account-extban specification.

https://ircv3.net/specs/extensions/account-extban

bahamut-anope
bahamut-atheme
ergo
inspircd-anope
inspircd-atheme
ngircd-anope
ngircd-atheme
sable
solanum-anope
solanum-atheme
unrealircd-anope
unrealircd-atheme
testAccountExtbanException
Test that a ban exception (+e) with an account extban allows a

banned account to join despite a broad hostmask ban.

Requires EXCEPTS / mode e support.

dds..sss....
testAccountExtbanInviteException
Test that an invite exception (+I) with an account extban allows

the matching account to join an invite-only channel.

Requires INVEX / mode I support.

dds..sss....
testAccountExtbanJoin
Test that an account extban prevents the matching account from

joining, and that removing it allows them to join again.

"Servers publishing the ACCOUNTEXTBAN token allow clients to construct ban masks matching account names." -- <https://ircv3.net/specs/extensions/account-extban>

dds..sss....
testAccountExtbanUnauthed
Test that an account extban does NOT match an unauthenticated user

whose nick happens to be the banned account name.

Account extbans match accounts, not nicknames.

dds..sss....
testISupportToken

Test that ACCOUNTEXTBAN is advertised and consistent with EXTBAN.

"Servers publishing the ACCOUNTEXTBAN token MUST also publish the EXTBAN token." -- <https://ircv3.net/specs/extensions/account-extban>

dds..sss....