this does detect the correect nick if that nick exists in channel at the time tho, just if they have left it well fall back to finding the other one, ie : bob and bob` finds each correctly but if bob` was to leave, it falls back on bob.
Which in one sence is a security flaw, since Bob` might do something bad, then part and and op right clicks on him and kick/bans Bob by mistake.
A nasty trick but not an overly impressive one.