]> git.cworth.org Git - turbot/commit
puzzle_copy: Copy the solution list as well
authorCarl Worth <cworth@cworth.org>
Sat, 8 Jan 2022 08:27:11 +0000 (00:27 -0800)
committerCarl Worth <cworth@cworth.org>
Sat, 8 Jan 2022 08:27:11 +0000 (00:27 -0800)
commitcab4e4b9d7a0c37e988765c723a135739a3a3112
tree3d79d39f2a4342a6e6dbfb32a6e9c55d24d085ca
parent22bf924c2afa92104795abfb800198b68f4777e3
puzzle_copy: Copy the solution list as well

Otherwise, the new puzzle will be pointing at the old puzzle's
solution list, (and the code that looks to see if the solution list
has changed won't notice any change).

This fixes things so that using "/solved" to add a second (or third,
...) to a puzzle will now update the channel's topic, which wasn't
happening before.
turbot/puzzle.py