Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
A moderator's ban over /live is refused with 'that address is yours too' when the target shares the moderator's address, proven through the socket #344
Sign in to join this conversation.
Replaces #209. Pull #334 failed review three times because only the owner can ban today, and the owner is never barred, so the guard had no path to fire. This lands after #227 gives moderators
ban.Done:
Software/so101/src/lobby.ts, inside the moderator's ban path from #227, a ban whose target address (live seat, orAccounts.addressOfwhen offline) equals the moderator's own is refused with "that address is yours too: the ban would bar you", and nothing changes. The guard andAccounts.addressOfmay be taken from pull #334's branch.src/lobby.test.tsproves it through the socket: a moderator and a user on the same address, the moderator sendsban, gets the error, and both stay in. The test fails if the guard line is deleted. A moderator banning someone on another address still works.forge.jsonis untouched. Afterbun install,bun x tsc --noEmitandbun --cwd Software/so101 testpass.