Sheffield Wednesday will face either Gillingham or Carlisle United away from home in the third round of the Emirates FA Cup.
Gillingham and Carlisle drew 1-1 in their second round clash at Priestfield Stadium on Saturday.
The replay will take on Tuesday 12 December with the winner to face the Owls during the first weekend of the New Year (5-8 January).