FC Halifax Town will host Witton Albion or Stalybridge in the third qualifying round of the FA Cup.
The two sides drew 1-1 on Saturday and will play a replay at Stalybridge on Tuesday night.
Halifax beat Stalybridge 1-0 at The Shay earlier this month.
Town beat Ashton Athletic 5-0 in the second qualifying round on Saturday thanks to goals from Tom Denton, Danny Hone, Jordan Sinnott, Richard Peniket and Alex Simmons.
They reached the first round of the competition last season before losing 4-0 at home to Wycombe Wanderers.
Town will face Witton or Stalybridge on Saturday, October 1.