A quick-thinking music fan managed to meet his favourite band for a drink after editing their Wikipedia page to say he was related to one of the members.

David Spargo tricked a security guard for Australian duo Peking Duk to get backstage after their Melbourne gig on Wednesday night.

The fan was asked for 'proof' from the security guard that he was related to either Reuben Styles or Adam Hyde, and Mr Spargo produced the Wikipedia on his phone which revealed he was listed as 'family' on the page.

But what the guard didn't know was Mr Spargo had edited the electronic music duo's page moments before.

Scroll down for video

A quick-thinking music fan managed to meet his favourite band Peking Duk (pictured) after editing their Wikipedia to say he was related to one of the members

The fan was asked for 'proof' from the security guard that he was related to either Reuben Styles or Adam Hyde, and Mr Spargo produced the Wikipedia on his phone which revealed he was listed as 'family' on the page

Mr Spargo was let into the green room and even managed to share a drink with the band after they realised what he had done and thought it was 'genius'

'It was probably the most genius, mastermind move that I've ever witnessed,' Hyde said

Mr Spargo was let into the green room and even managed to share a drink with the band after they realised what he had done and thought it was 'genius'.

'It was probably the most genius, mastermind move that I've ever witnessed,' Hyde told The Guardian.

'He told the security guard he was our stepbrother or something, and showed them the Wikipedia page and his ID.'

The band were so impressed they posted about it on their social media pages calling Mr Spargo a 'legend' alongside a picture of Will Ferrell in Anchorman saying 'Actually I'm not even mad, that's amazing

Mr Spargo was quick to respond posting 'thanks for the evening lads'. His comment was liked over 2,000 times from amazed fans who agreed he was a 'legend'

Fans of the band thought the move was amazing after he managed to pass security and have a beer with the pair

'We ended up having a bunch of beers with him and he was an absolute legend. He wasn't a creep or anything. He was like the most normal dude we've ever met. That's what makes it more hilarious.

'He definitely put the work in, and it worked.'

The band were so impressed they posted about it on their social media pages calling Mr Spargo a 'legend' alongside a picture of Will Ferrell in Anchorman saying 'Actually I'm not even mad, that's amazing'.