Wednesday have been drawn away to either Carlisle or Gillingham in the FA Cup third round.
The two sides replay next week after a 1-1 draw in their first meeting at Gillingham. Third round ties will take place between the dates of January 5-7.
Carlisle are in the bottom half of division two while Gillingham sit just four places from the foot of division one.