This concerns UK law.
Last autumn I made some minor alterations to the website of a business owned by a friend, adding their contact info next to the logo in the header of the webpage. I'm fairly new to the whole freelance thing, it's not something I wanted to do but I wanted to be paid for the work that they would essentially be using to profit from (clients would be calling them for work and would use this contact info that I put in the heading for them) and by extension to deter them from trying to use a friend for free labour as given previous things I'd done for them I was concerned it was going to happen. We agreed on an hourly rate, I did the work as requested (and then some that I wasn't originally asked about) and they were happy with the work done. As a kind gesture, I didn't actually charge for this extra work but that's kinda irrelevant.
About two months ago I was on the website while talking with them over the phone (I can't remember what exactly we were talking about or whether it was related to some more work nor not). Considering it was work for a friend (and me being new to the whole "freelance" thing) I didn't put anything in writing, however, I told them if for whatever reason something broke as a result of my code, I'd fix it for them. I'd noticed the work I'd originally done had disappeared and asked them about it, and they asked me to fix it "as per the warranty". I was sure that I only had offered a 30-day warranty (which made it out of warranty), however, they insisted it was 3 months (just about still in warranty). I genuinely can't remember, and I think that the code wouldn't just disappear like that unless someone tried to change it and screwed up. I wasn't in the mood to argue so offered to fix it regardless. The friend knew I was going away a week later as he was supposed to be coming (he didn't in the end). I did try to do work on the site while I was away but had trouble even connecting to it being abroad as I was using mobile data (roaming) though my smartphone as a mobile hotspot, which was practically unusable (Wi-Fi was of similar quality), although I don't feel like I should have to work while on holiday (I literally took the holiday to have a break from work (my day job)).
I had returned to work three weeks after the original request. I'd initially forgot I'd deleted their login information shortly after the work was completed, and when I realised I needed them again I asked them for it. I didn't get a response. A few days later the friend decided he wanted a refund.
I was willing to fix the issue, and still am willing to fix it, however without the access that they need to give to me to honour this warranty I cannot do anything. I'm comparing this to not RMA-ing goods for repair and demanding a refund because they haven't fixed it. Are these situations equal? Can I refuse the refund?
Any additional information I can provide if needed. I'd be really grateful for the advice.