City will head to Bristol City in the third round of the Carabao Cup.
The tie will be played in the week commencing November 7.
The Imps booked their place in the third round with a dramatic penalty shootout win at Barrow on Tuesday evening, having beaten Doncaster Rovers in the first round.