The code for changing admins online into a hyperlink may have issues when encountering an overlap. If one admin's name contains another's, it may, in an edge case, result in a double hyper-link or partially hyperlinked name.
Currently, it will replace the first match it finds in the str and iterate through the admins online in order, so a str such as Jayy, Jay, would turn into <a href="etc">Jayy</a>, Jay on the first iteration (it finds Jayy in the list of admins, then hyperlinks it), and <a href="etc"><a href="etc2">Jay</a>y</a>, Jay on the second iteration (in theory, it would find Jay in the list of admins, search left -> right using replace, and find the first Jayy as a result).
Original Conversation
The code for changing admins online into a hyperlink may have issues when encountering an overlap. If one admin's name contains another's, it may, in an edge case, result in a double hyper-link or partially hyperlinked name.
Currently, it will replace the first match it finds in the str and iterate through the admins online in order, so a str such as
Jayy, Jay, would turn into<a href="etc">Jayy</a>, Jayon the first iteration (it finds Jayy in the list of admins, then hyperlinks it), and<a href="etc"><a href="etc2">Jay</a>y</a>, Jayon the second iteration (in theory, it would find Jay in the list of admins, search left -> right using replace, and find the first Jayy as a result).Original Conversation