Thread:Extension talk:UserMerge/Duplicate entry/reply (3)

Is it possible to write one line of code to unblock a user just before the code tries to delete the user? I am using the UserMerge extension in conjunction with NukeAndBlock. I need to run NukeAndBlock because it deletes blocked users' contributions. NukeAndBlock calls UserMerge with $wgBaNSpamUser = "Spammer"; I think the code would work for my purposes, if there was a hack to simply unblock the user just before UserMerge's call to merge and delete the user. Can someone help me write that code?