Answer:
Early in the battle with the suitors, Eumaeus and Philoetius catch Melanthius trying to steal more weapons and armour for the suitors. On the orders of Odysseus, they bind him and string him up from the rafters, where he is mocked by Eumaeus.